Skip to content

Commit 11409a3

Browse files
ci: update actions to node 24
1 parent fd383b1 commit 11409a3

3 files changed

Lines changed: 11 additions & 11 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
check:
3434
runs-on: ubuntu-latest
3535
steps:
36-
- uses: actions/checkout@v4
36+
- uses: actions/checkout@v7
3737
- uses: dtolnay/rust-toolchain@stable
3838
with:
3939
components: rustfmt, clippy
@@ -52,7 +52,7 @@ jobs:
5252
libswscale-dev \
5353
pkg-config
5454
- name: Cache cargo registry and build artifacts
55-
uses: Swatinem/rust-cache@v2
55+
uses: Swatinem/rust-cache@v2.9.3
5656
- run: cargo fmt --all --check
5757
- name: Check shell scripts
5858
run: for script in scripts/*.sh; do bash -n "$script"; done
@@ -101,7 +101,7 @@ jobs:
101101
name: MSRV (1.90)
102102
runs-on: ubuntu-latest
103103
steps:
104-
- uses: actions/checkout@v4
104+
- uses: actions/checkout@v7
105105
- uses: dtolnay/rust-toolchain@1.90
106106
with:
107107
components: rustfmt, clippy
@@ -121,6 +121,6 @@ jobs:
121121
lld \
122122
pkg-config
123123
- name: Cache cargo registry and build artifacts
124-
uses: Swatinem/rust-cache@v2
124+
uses: Swatinem/rust-cache@v2.9.3
125125
- run: cargo check --workspace --locked
126126
- run: cargo test --workspace --locked

‎.github/workflows/publish.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
publish:
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v7
2020
- uses: dtolnay/rust-toolchain@stable
2121
- name: Cache cargo registry and build artifacts
22-
uses: Swatinem/rust-cache@v2
22+
uses: Swatinem/rust-cache@v2.9.3
2323
with:
2424
shared-key: crates-publish
2525
- name: Install build dependencies

‎.github/workflows/release.yml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
runs-on: ubuntu-latest
2525
steps:
2626
- name: Checkout repository
27-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
27+
uses: actions/checkout@v7 # v5.0.0
2828
with:
2929
ref: ${{ inputs.tag_name || github.ref }}
3030
fetch-depth: 0
@@ -78,7 +78,7 @@ jobs:
7878
# workspace, not inside /opt/vcpkg, so a fresh `git clone` of the
7979
# tool doesn't wipe the cache.
8080
id: vcpkg-cache
81-
uses: actions/cache/restore@caa296126883cff596d87d8935842f9db880ef25 # v5.1.0
81+
uses: actions/cache/restore@v6 # v5.1.0
8282
with:
8383
path: ${{ github.workspace }}/.vcpkg-cache
8484
key: wallr-vcpkg-archives-${{ runner.os }}-${{ env.VCPKG_COMMIT }}-${{ env.VCPKG_CACHE_REVISION }}-${{ hashFiles('.github/vcpkg-triplets/**') }}
@@ -122,7 +122,7 @@ jobs:
122122
123123
- name: Save vcpkg binary archives
124124
if: always() && !cancelled()
125-
uses: actions/cache/save@caa296126883cff596d87d8935842f9db880ef25 # v5.1.0
125+
uses: actions/cache/save@v6 # v5.1.0
126126
with:
127127
path: ${{ github.workspace }}/.vcpkg-cache
128128
key: wallr-vcpkg-archives-${{ runner.os }}-${{ env.VCPKG_COMMIT }}-${{ env.VCPKG_CACHE_REVISION }}-${{ hashFiles('.github/vcpkg-triplets/**') }}
@@ -131,7 +131,7 @@ jobs:
131131
uses: dtolnay/rust-toolchain@stable
132132

133133
- name: Cache cargo registry and build artifacts
134-
uses: Swatinem/rust-cache@v2
134+
uses: Swatinem/rust-cache@v2.9.3
135135
with:
136136
# No custom `key` override: rust-cache hashes Cargo.lock, the Rust
137137
# toolchain version, and the job's `runs-on` automatically. A fixed
@@ -206,7 +206,7 @@ jobs:
206206
sha256sum wallr-linux-amd64.tar.gz > wallr-linux-amd64.tar.gz.sha256
207207
208208
- name: Create GitHub Release
209-
uses: softprops/action-gh-release@718ea10b132b3b2eba29c1007bb80653f286566b # v3.0.1
209+
uses: softprops/action-gh-release@v3.0.3 # v3.0.1
210210
with:
211211
tag_name: ${{ inputs.tag_name || github.ref_name }}
212212
name: Release ${{ inputs.tag_name || github.ref_name }}

0 commit comments

Comments
 (0)