From e9d4319c46afa0bd8f317a11e5f2cfa11368808e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 17 Jan 2024 16:25:59 +0000 Subject: [PATCH] Update actions/cache action to v4 --- .github/workflows/check-and-test.yml | 6 +++--- .github/workflows/release.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/check-and-test.yml b/.github/workflows/check-and-test.yml index fda8fab8..e0f12579 100644 --- a/.github/workflows/check-and-test.yml +++ b/.github/workflows/check-and-test.yml @@ -108,7 +108,7 @@ jobs: - name: Install rustfmt run: rustup component add rustfmt - name: Cache cargo registry - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cargo/registry key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}-${{ github.sha }} @@ -116,7 +116,7 @@ jobs: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }} ${{ runner.os }}-cargo-registry- - name: Cache cargo index - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cargo/git key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}-${{ github.sha }} @@ -124,7 +124,7 @@ jobs: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }} ${{ runner.os }}-cargo-index- - name: Cache sccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ runner.temp }}/cache key: ${{ runner.os }}-cargo-build-cache-debug-${{ hashFiles('**/Cargo.lock') }}-${{ github.sha }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c1d50d66..3f181d25 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -85,7 +85,7 @@ jobs: rm -rf $TEMP/sccache-v*-x86_64-unknown-linux-musl $TEMP/sccache-v*-x86_64-unknown-linux-musl.tar.gz $TEMP/fetch chmod +x $TEMP/sccache - name: Cache cargo registry - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cargo/registry key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}-${{ github.sha }} @@ -93,7 +93,7 @@ jobs: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }} ${{ runner.os }}-cargo-registry- - name: Cache cargo index - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cargo/git key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}-${{ github.sha }} @@ -101,7 +101,7 @@ jobs: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }} ${{ runner.os }}-cargo-index- - name: Cache sccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ runner.temp }}/cache key: ${{ runner.os }}-cargo-build-cache-release-${{ matrix.architectures.arch }}-${{ needs.get-version.outputs.toolchain }}-${{ needs.get-version.outputs.sane_branch_name_key }}-${{ github.sha }}