diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index a052a13..9fb148c 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -21,19 +21,13 @@ jobs: - name: Checkout uses: actions/checkout@v3 - - name: Cache - uses: actions/cache@v3 - with: - path: | - ~/.cargo - ~/.rustup - target/ - key: ${{ runner.os }}-${{ steps.rust-install.outputs.cachekey }}-audit - - name: Install rust id: rust-install uses: dtolnay/rust-toolchain@stable + - name: Cache + uses: Swatinem/rust-cache@v2 + - name: Install cargo-audit run: cargo install cargo-audit