diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0d8b9ae..9323436 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -35,13 +35,7 @@ jobs: run: sudo apt install -y protobuf-compiler - 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