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:
parent
224c03daf1
commit
f83eb57719
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue