chore(deps): update actions/cache action to v5

This commit is contained in:
renovate[bot] 2025-12-11 23:47:49 +00:00 committed by GitHub
parent 4a1b9698a7
commit 62042d4df2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 9 additions and 9 deletions

View file

@ -1215,7 +1215,7 @@ jobs:
uses: lima-vm/lima-actions/setup@v1
id: lima-actions-setup
- name: Cache ~/.cache/lima
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ~/.cache/lima
key: lima-${{ steps.lima-actions-setup.outputs.version }}

View file

@ -244,7 +244,7 @@ jobs:
uses: lima-vm/lima-actions/setup@v1
id: lima-actions-setup
- name: Cache ~/.cache/lima
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ~/.cache/lima
key: lima-${{ steps.lima-actions-setup.outputs.version }}

View file

@ -85,7 +85,7 @@ jobs:
free -mh
df -Th
- name: Restore AVD cache
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
id: avd-cache
continue-on-error: true
with:
@ -127,7 +127,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@v4
uses: actions/cache/save@v5
with:
path: |
~/.android/avd/*
@ -143,7 +143,7 @@ jobs:
trim: true
- name: Restore rust cache
id: rust-cache
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
with:
path: ~/__rust_cache__
# The version vX at the end of the key is just a development version to avoid conflicts in
@ -184,7 +184,7 @@ jobs:
df -Th
- name: Save rust cache
if: steps.rust-cache.outputs.cache-hit != 'true'
uses: actions/cache/save@v4
uses: actions/cache/save@v5
with:
path: ~/__rust_cache__
key: ${{ matrix.arch }}_${{ matrix.target}}_${{ steps.read_rustc_hash.outputs.content }}_${{ hashFiles('**/Cargo.toml', '**/Cargo.lock') }}_v3

View file

@ -255,7 +255,7 @@ jobs:
run: npm install -g cspell
- name: Cache pre-commit environments
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ~/.cache/pre-commit
key: pre-commit-${{ runner.os }}-${{ hashFiles('.pre-commit-config.yaml') }}

View file

@ -110,7 +110,7 @@ jobs:
shared-key: "cargo-fuzz-cache-key"
cache-directories: "fuzz/target"
- name: Restore Cached Corpus
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
with:
key: corpus-cache-${{ matrix.test-target.name }}
path: |
@ -192,7 +192,7 @@ jobs:
echo "" >> $GITHUB_STEP_SUMMARY
- name: Save Corpus Cache
uses: actions/cache/save@v4
uses: actions/cache/save@v5
with:
key: corpus-cache-${{ matrix.test-target.name }}
path: |