diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3cf44e28..fc235b46 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,14 +27,8 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 - - name: Restore cargo cache - uses: actions/cache@v3 - with: - path: | - ~/.cargo/registry - ~/.cargo/git - target - key: ${{ runner.os }}-cargo-${{ matrix.rust }}-${{ hashFiles('**/Cargo.lock') }} + - name: Cache + uses: Swatinem/rust-cache@v2 - name: Install Rust uses: actions-rs/toolchain@v1