diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fad8cf586..8bc1bcc8a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,18 +16,7 @@ jobs: steps: - uses: actions/checkout@v3 - - uses: actions/cache@v4 - with: - path: | - ~/.cargo/bin/ - ~/.cargo/registry/index/ - ~/.cargo/registry/cache/ - ~/.cargo/git/db/ - target/ - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}-${{ github.sha }} - restore-keys: | - ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}- - ${{ runner.os }}-cargo- + - uses: Swatinem/rust-cache@v2 - uses: actions/setup-go@v5 with: go-version: '^1.22.0'