From 12758be6c6ad543c0eb3ba2b6862f40e08b72448 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 17 Jan 2024 17:09:22 +0000 Subject: [PATCH] chore(deps): update actions/cache action to v4 --- .github/workflows/android.yml | 8 ++++---- .github/workflows/fuzzing.yml | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 34dcf910d..86b5a89e8 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -33,7 +33,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Restore AVD cache - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 id: avd-cache with: path: | @@ -57,7 +57,7 @@ jobs: util/android-commands.sh init "${{ matrix.arch }}" "${{ matrix.api-level }}" "${{ env.TERMUX }}" - name: Save AVD cache if: steps.avd-cache.outputs.cache-hit != 'true' - uses: actions/cache/save@v3 + uses: actions/cache/save@v4 with: path: | ~/.android/avd/* @@ -73,7 +73,7 @@ jobs: trim: true - name: Restore rust cache id: rust-cache - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: ~/__rust_cache__ # The version vX at the end of the key is just a development version to avoid conflicts in @@ -99,7 +99,7 @@ jobs: if [[ "${{ steps.rust-cache.outputs.cache-hit }}" != 'true' ]]; then util/android-commands.sh sync_image; fi; exit 0 - name: Save rust cache if: steps.rust-cache.outputs.cache-hit != 'true' - uses: actions/cache/save@v3 + uses: actions/cache/save@v4 with: path: ~/__rust_cache__ key: ${{ matrix.arch }}_${{ matrix.target}}_${{ steps.read_rustc_hash.outputs.content }}_${{ hashFiles('**/Cargo.toml', '**/Cargo.lock') }}_v3 diff --git a/.github/workflows/fuzzing.yml b/.github/workflows/fuzzing.yml index b96f7e4ef..c60c01ff4 100644 --- a/.github/workflows/fuzzing.yml +++ b/.github/workflows/fuzzing.yml @@ -66,7 +66,7 @@ jobs: shared-key: "cargo-fuzz-cache-key" cache-directories: "fuzz/target" - name: Restore Cached Corpus - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: key: corpus-cache-${{ matrix.test-target.name }} path: | @@ -77,7 +77,7 @@ jobs: run: | cargo +nightly fuzz run ${{ matrix.test-target.name }} -- -max_total_time=${{ env.RUN_FOR }} -detect_leaks=0 - name: Save Corpus Cache - uses: actions/cache/save@v3 + uses: actions/cache/save@v4 with: key: corpus-cache-${{ matrix.test-target.name }} path: |