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 15:31:31 +01:00
committed by Fintan Halpenny
parent 224c03daf1
commit f83eb57719
+2 -2
View File
@@ -25,11 +25,11 @@ jobs:
fetch-tags: true
filter: 'tree:0'
- uses: dtolnay/rust-toolchain@stable
- uses: actions/cache@v4
- uses: actions/cache@v5
with:
path: ~/.cargo
key: ${{ matrix.os }}-${{ runner.arch }}-${{ hashFiles('Cargo.lock') }}-cargo-home
- uses: actions/cache@v4
- uses: actions/cache@v5
with:
path: target
key: ${{ matrix.os }}-${{ runner.arch }}-${{ hashFiles('Cargo.lock') }}-cargo-target