diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7ebadfe..a70d7cf 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -29,13 +29,7 @@ jobs: run: cargo fmt --all -- --check - name: Cargo Cache - uses: actions/cache@v3 - with: - path: | - ~/.cargo/registry/index/ - ~/.cargo/registry/cache/ - target/ - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} + uses: Swatinem/rust-cache@v2 - name: Build project run: cargo build