ci: Update unsupported cache v2 action to v4

This commit is contained in:
Ian Douglas Scott 2025-03-03 13:12:41 -08:00 committed by Ian Douglas Scott
parent 8b63e09ddc
commit e6f563d04e

View file

@ -21,7 +21,7 @@ jobs:
components: rustfmt
default: true
- name: Cargo cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
@ -45,7 +45,7 @@ jobs:
default: true
profile: minimal
- name: Cargo cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
@ -54,7 +54,7 @@ jobs:
- name: System dependencies
run: sudo apt-get update; sudo apt-get install libudev-dev libgbm-dev libxkbcommon-dev libegl1-mesa-dev libwayland-dev libinput-dev libsystemd-dev libdbus-1-dev libdisplay-info-dev libpixman-1-dev
- name: Build cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: target
key: ${{ runner.os }}-build-rust_stable-smithay-feature_${{ matrix.features }}-${{ hashFiles('**/Cargo.toml') }}
@ -73,4 +73,4 @@ jobs:
RUST_BACKTRACE: full
with:
command: test
args: --all-features
args: --all-features