Skip to content

Commit 6b2dcd2

Browse files
committed
ci: bump actions to Node 24 runtimes
GitHub deprecated Node 20 actions — runners will force Node 24 from June 2nd 2026 and remove Node 20 entirely on September 16th 2026. Move every flagged action to its Node-24 release line: - actions/checkout v4 -> v6 - Swatinem/rust-cache v2.8.2 -> v2.9.1 - actions/upload-artifact v4 -> v7 - actions/download-artifact v4 -> v7 dtolnay/rust-toolchain@v1 and softprops/action-gh-release@v2 were not flagged and stay as-is. Note: upload/download-artifact v5+ require Actions Runner 2.327.1 or newer. GitHub-hosted runners already satisfy this; self-hosted ones need to be up-to-date.
1 parent 04d3fce commit 6b2dcd2

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
runner: windows-11-arm
3737

3838
steps:
39-
- uses: actions/checkout@v4
39+
- uses: actions/checkout@v6
4040

4141
- name: Install Rust toolchain
4242
uses: dtolnay/rust-toolchain@v1
@@ -45,7 +45,7 @@ jobs:
4545
targets: ${{ matrix.target }}
4646

4747
- name: Cache cargo
48-
uses: Swatinem/rust-cache@v2.8.2
48+
uses: Swatinem/rust-cache@v2.9.1
4949
with:
5050
key: ${{ matrix.target }}
5151

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838

3939
steps:
4040
- name: Checkout
41-
uses: actions/checkout@v4
41+
uses: actions/checkout@v6
4242

4343
- name: Install Rust toolchain
4444
uses: dtolnay/rust-toolchain@v1
@@ -47,7 +47,7 @@ jobs:
4747
targets: ${{ matrix.target }}
4848

4949
- name: Cache cargo
50-
uses: Swatinem/rust-cache@v2.8.2
50+
uses: Swatinem/rust-cache@v2.9.1
5151
with:
5252
key: ${{ matrix.target }}
5353
shared-key: release
@@ -120,7 +120,7 @@ jobs:
120120
echo "PACKAGE_PATH=release/$out" >> $GITHUB_ENV
121121
122122
- name: Upload artifact
123-
uses: actions/upload-artifact@v4
123+
uses: actions/upload-artifact@v7
124124
with:
125125
name: ${{ matrix.target }}
126126
path: ${{ env.PACKAGE_PATH }}
@@ -134,7 +134,7 @@ jobs:
134134

135135
steps:
136136
- name: Download artifacts
137-
uses: actions/download-artifact@v4
137+
uses: actions/download-artifact@v7
138138
with:
139139
path: artifacts
140140

0 commit comments

Comments
 (0)