From 99da31ce98c9d0606942ec5df0955317f0ed25d7 Mon Sep 17 00:00:00 2001 From: Andrzej Ressel Date: Sat, 9 Mar 2024 23:47:44 +0100 Subject: [PATCH] Replace rust cache --- .github/workflows/build.yml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) 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'