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

This commit is contained in:
Renovate 2025-09-09 23:14:50 +01:00
commit 16153625d1
No known key found for this signature in database
GPG key ID: 8705A2A3EBF77BD2
4 changed files with 9 additions and 9 deletions

View file

@ -33,7 +33,7 @@ runs:
echo "version=$(rustup --version)" >> $GITHUB_OUTPUT
- name: Cache rustup toolchains
if: steps.rustup-version.outputs.version == ''
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.rustup

View file

@ -20,7 +20,7 @@ runs:
steps:
- name: Cache timelord-cli installation
id: cache-timelord-bin
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.cargo/bin/timelord
key: timelord-cli-v3.0.1
@ -32,7 +32,7 @@ runs:
if: steps.cache-timelord-bin.outputs.cache-hit != 'true'
- name: Load timelord files
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: /timelord/
key: ${{ inputs.key }}
@ -40,7 +40,7 @@ runs:
shell: bash
run: timelord sync --source-dir ${{ inputs.path }} --cache-dir /timelord/
- name: Save timelord
uses: actions/cache/save@v3
uses: actions/cache/save@v4
with:
path: /timelord/
key: ${{ inputs.key }}

View file

@ -60,7 +60,7 @@ jobs:
node-version: 22
- name: Cache npm dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ steps.runner-env.outputs.slug }}-node-${{ hashFiles('**/package-lock.json') }}

View file

@ -157,7 +157,7 @@ jobs:
- name: Cache Rust registry
if: ${{ env.BUILDKIT_ENDPOINT == '' }}
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
.cargo/git
@ -168,7 +168,7 @@ jobs:
- name: Cache cargo target
if: ${{ env.BUILDKIT_ENDPOINT == '' }}
id: cache-cargo-target
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
cargo-target-${{ matrix.target_cpu }}-${{ matrix.slug }}-${{ matrix.profile }}
@ -176,7 +176,7 @@ jobs:
- name: Cache apt cache
if: ${{ env.BUILDKIT_ENDPOINT == '' }}
id: cache-apt
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
var-cache-apt-${{ matrix.slug }}
@ -184,7 +184,7 @@ jobs:
- name: Cache apt lib
if: ${{ env.BUILDKIT_ENDPOINT == '' }}
id: cache-apt-lib
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
var-lib-apt-${{ matrix.slug }}