1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 03:27:44 +00:00

Merge pull request #5856 from uutils/renovate/actions-cache-4.x

chore(deps): update actions/cache action to v4
This commit is contained in:
Daniel Hofstetter 2024-01-18 07:01:29 +01:00 committed by GitHub
commit 10b8c1c996
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 6 deletions

View file

@ -33,7 +33,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Restore AVD cache - name: Restore AVD cache
uses: actions/cache/restore@v3 uses: actions/cache/restore@v4
id: avd-cache id: avd-cache
with: with:
path: | path: |
@ -57,7 +57,7 @@ jobs:
util/android-commands.sh init "${{ matrix.arch }}" "${{ matrix.api-level }}" "${{ env.TERMUX }}" util/android-commands.sh init "${{ matrix.arch }}" "${{ matrix.api-level }}" "${{ env.TERMUX }}"
- name: Save AVD cache - name: Save AVD cache
if: steps.avd-cache.outputs.cache-hit != 'true' if: steps.avd-cache.outputs.cache-hit != 'true'
uses: actions/cache/save@v3 uses: actions/cache/save@v4
with: with:
path: | path: |
~/.android/avd/* ~/.android/avd/*
@ -73,7 +73,7 @@ jobs:
trim: true trim: true
- name: Restore rust cache - name: Restore rust cache
id: rust-cache id: rust-cache
uses: actions/cache/restore@v3 uses: actions/cache/restore@v4
with: with:
path: ~/__rust_cache__ path: ~/__rust_cache__
# The version vX at the end of the key is just a development version to avoid conflicts in # 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 if [[ "${{ steps.rust-cache.outputs.cache-hit }}" != 'true' ]]; then util/android-commands.sh sync_image; fi; exit 0
- name: Save rust cache - name: Save rust cache
if: steps.rust-cache.outputs.cache-hit != 'true' if: steps.rust-cache.outputs.cache-hit != 'true'
uses: actions/cache/save@v3 uses: actions/cache/save@v4
with: with:
path: ~/__rust_cache__ path: ~/__rust_cache__
key: ${{ matrix.arch }}_${{ matrix.target}}_${{ steps.read_rustc_hash.outputs.content }}_${{ hashFiles('**/Cargo.toml', '**/Cargo.lock') }}_v3 key: ${{ matrix.arch }}_${{ matrix.target}}_${{ steps.read_rustc_hash.outputs.content }}_${{ hashFiles('**/Cargo.toml', '**/Cargo.lock') }}_v3

View file

@ -66,7 +66,7 @@ jobs:
shared-key: "cargo-fuzz-cache-key" shared-key: "cargo-fuzz-cache-key"
cache-directories: "fuzz/target" cache-directories: "fuzz/target"
- name: Restore Cached Corpus - name: Restore Cached Corpus
uses: actions/cache/restore@v3 uses: actions/cache/restore@v4
with: with:
key: corpus-cache-${{ matrix.test-target.name }} key: corpus-cache-${{ matrix.test-target.name }}
path: | path: |
@ -77,7 +77,7 @@ jobs:
run: | run: |
cargo +nightly fuzz run ${{ matrix.test-target.name }} -- -max_total_time=${{ env.RUN_FOR }} -detect_leaks=0 cargo +nightly fuzz run ${{ matrix.test-target.name }} -- -max_total_time=${{ env.RUN_FOR }} -detect_leaks=0
- name: Save Corpus Cache - name: Save Corpus Cache
uses: actions/cache/save@v3 uses: actions/cache/save@v4
with: with:
key: corpus-cache-${{ matrix.test-target.name }} key: corpus-cache-${{ matrix.test-target.name }}
path: | path: |