ci: Update GitHub action `actions/cache`

Version 4 uses Node.js 22, which GitHub warns about and suggests to
update.

Changelog is at <https://github.com/actions/cache#v5>.
This commit is contained in:
Lorenz Leutgeb 2026-04-22 09:45:56 +02:00 committed by Fintan Halpenny
parent 224c03daf1
commit f83eb57719
1 changed files with 2 additions and 2 deletions

View File

@ -25,11 +25,11 @@ jobs:
fetch-tags: true fetch-tags: true
filter: 'tree:0' filter: 'tree:0'
- uses: dtolnay/rust-toolchain@stable - uses: dtolnay/rust-toolchain@stable
- uses: actions/cache@v4 - uses: actions/cache@v5
with: with:
path: ~/.cargo path: ~/.cargo
key: ${{ matrix.os }}-${{ runner.arch }}-${{ hashFiles('Cargo.lock') }}-cargo-home key: ${{ matrix.os }}-${{ runner.arch }}-${{ hashFiles('Cargo.lock') }}-cargo-home
- uses: actions/cache@v4 - uses: actions/cache@v5
with: with:
path: target path: target
key: ${{ matrix.os }}-${{ runner.arch }}-${{ hashFiles('Cargo.lock') }}-cargo-target key: ${{ matrix.os }}-${{ runner.arch }}-${{ hashFiles('Cargo.lock') }}-cargo-target