Skip to content

Commit 5e156be

Browse files
srperensclaude
andauthored
ci: bump actions to Node 24 runtimes (#616)
GitHub forces Node.js 24 for actions on June 16, 2026 and removes Node 20 from runners on September 16, 2026; CI logs already warn about actions/cache@v4 and sccache-action@v0.0.9. Bump every pinned action to its current major: - actions/checkout v5 -> v6 - actions/upload-artifact v4 -> v7 - actions/download-artifact v4 -> v8 - actions/cache v4 -> v5 - mozilla-actions/sccache-action v0.0.9 -> v0.0.10 - docker/build-push-action v6 -> v7 - softprops/action-gh-release v2 -> v3 All majors are Node 24/ESM migrations with no behavior change for our usage: artifacts are addressed by name (the download-artifact v5 by-ID path change does not apply), and the envs removed in build-push v7 (DOCKER_BUILD_NO_SUMMARY, DOCKER_BUILD_EXPORT_RETENTION_DAYS) are unused. Floating major tags (rust-cache@v2, cache-apt-pkgs@v1, login@v4, setup-buildx@v4, dtolnay/rust-toolchain@stable) already track Node 24 releases and stay as-is. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent cfb7d51 commit 5e156be

6 files changed

Lines changed: 59 additions & 59 deletions

File tree

.github/workflows/build-gstcefsrc.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
arch: arm64
5050

5151
steps:
52-
- uses: actions/checkout@v5
52+
- uses: actions/checkout@v6
5353

5454
- name: Set up Docker Buildx
5555
uses: docker/setup-buildx-action@v4
@@ -94,15 +94,15 @@ jobs:
9494
id: archive
9595

9696
- name: Upload build artifact
97-
uses: actions/upload-artifact@v4
97+
uses: actions/upload-artifact@v7
9898
with:
9999
name: gstcefsrc-${{ steps.cef.outputs.short_version }}-${{ matrix.platform }}
100100
path: ${{ steps.archive.outputs.archive_name }}
101101
retention-days: 30
102102

103103
- name: Upload to GitHub Release
104104
if: inputs.upload_to_release
105-
uses: softprops/action-gh-release@v2
105+
uses: softprops/action-gh-release@v3
106106
with:
107107
tag_name: ${{ inputs.release_tag }}
108108
name: "gstcefsrc Dependencies"

.github/workflows/ci.yml

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
runs-on: ubuntu-24.04
3333
timeout-minutes: 25
3434
steps:
35-
- uses: actions/checkout@v5
35+
- uses: actions/checkout@v6
3636

3737
- name: Install Rust stable
3838
uses: dtolnay/rust-toolchain@stable
@@ -59,7 +59,7 @@ jobs:
5959
save-if: ${{ github.ref == 'refs/heads/main' }}
6060

6161
- name: Setup sccache
62-
uses: mozilla-actions/sccache-action@v0.0.9
62+
uses: mozilla-actions/sccache-action@v0.0.10
6363

6464
- name: Check formatting
6565
run: cargo fmt --all -- --check
@@ -89,7 +89,7 @@ jobs:
8989
name: Check & Build (WASM)
9090
runs-on: ubuntu-latest
9191
steps:
92-
- uses: actions/checkout@v5
92+
- uses: actions/checkout@v6
9393

9494
- name: Install Rust stable with WASM target
9595
uses: dtolnay/rust-toolchain@stable
@@ -99,7 +99,7 @@ jobs:
9999

100100
- name: Cache trunk binary
101101
id: cache-trunk
102-
uses: actions/cache@v4
102+
uses: actions/cache@v5
103103
with:
104104
path: ~/.cargo/bin/trunk
105105
key: trunk-${{ env.TRUNK_VERSION }}-${{ runner.os }}
@@ -118,7 +118,7 @@ jobs:
118118
save-if: ${{ github.ref == 'refs/heads/main' }}
119119

120120
- name: Setup sccache
121-
uses: mozilla-actions/sccache-action@v0.0.9
121+
uses: mozilla-actions/sccache-action@v0.0.10
122122

123123
- name: Run Clippy on frontend
124124
run: cargo clippy --package strom-frontend --target wasm32-unknown-unknown --all-features -- -D warnings
@@ -133,7 +133,7 @@ jobs:
133133
RUSTC_WRAPPER: sccache
134134

135135
- name: Upload frontend dist
136-
uses: actions/upload-artifact@v4
136+
uses: actions/upload-artifact@v7
137137
with:
138138
name: frontend-dist
139139
path: backend/dist
@@ -145,7 +145,7 @@ jobs:
145145
runs-on: ubuntu-latest
146146
if: github.event_name == 'pull_request'
147147
steps:
148-
- uses: actions/checkout@v5
148+
- uses: actions/checkout@v6
149149
with:
150150
fetch-depth: 0
151151

@@ -175,7 +175,7 @@ jobs:
175175
runs-on: ubuntu-24.04
176176
timeout-minutes: 30
177177
steps:
178-
- uses: actions/checkout@v5
178+
- uses: actions/checkout@v6
179179

180180
- name: Extract version from Cargo.toml
181181
id: version
@@ -187,7 +187,7 @@ jobs:
187187
uses: dtolnay/rust-toolchain@stable
188188

189189
- name: Setup sccache
190-
uses: mozilla-actions/sccache-action@v0.0.9
190+
uses: mozilla-actions/sccache-action@v0.0.10
191191

192192
# Must NOT share a key with check-linux: rust-cache saves only once per
193193
# key and skips saving on a full-match restore. check-linux finishes
@@ -203,13 +203,13 @@ jobs:
203203
save-if: ${{ github.ref == 'refs/heads/main' }}
204204

205205
- name: Cache Zig tarball
206-
uses: actions/cache@v4
206+
uses: actions/cache@v5
207207
with:
208208
path: /tmp/zig.tar.xz
209209
key: zig-0.13.0-linux-x86_64
210210

211211
- name: Cache cargo-zigbuild tarball
212-
uses: actions/cache@v4
212+
uses: actions/cache@v5
213213
with:
214214
path: /tmp/cargo-zigbuild.tar.xz
215215
key: cargo-zigbuild-0.22.3-linux-x86_64
@@ -256,7 +256,7 @@ jobs:
256256
version: 1.5
257257

258258
- name: Download frontend dist
259-
uses: actions/download-artifact@v4
259+
uses: actions/download-artifact@v8
260260
with:
261261
name: frontend-dist
262262
path: backend/dist
@@ -270,15 +270,15 @@ jobs:
270270
cargo zigbuild --release --package strom-mcp-server --target x86_64-unknown-linux-gnu.2.31
271271
272272
- name: Upload backend binary
273-
uses: actions/upload-artifact@v4
273+
uses: actions/upload-artifact@v7
274274
with:
275275
name: strom-v${{ steps.version.outputs.version }}-linux-x86_64-x86_64-unknown-linux-gnu
276276
path: target/x86_64-unknown-linux-gnu/release/strom
277277
retention-days: 7
278278
if-no-files-found: error
279279

280280
- name: Upload MCP server binary
281-
uses: actions/upload-artifact@v4
281+
uses: actions/upload-artifact@v7
282282
with:
283283
name: strom-mcp-server-v${{ steps.version.outputs.version }}-linux-x86_64-x86_64-unknown-linux-gnu
284284
path: target/x86_64-unknown-linux-gnu/release/strom-mcp-server
@@ -292,7 +292,7 @@ jobs:
292292
runs-on: ubuntu-24.04-arm
293293
timeout-minutes: 30
294294
steps:
295-
- uses: actions/checkout@v5
295+
- uses: actions/checkout@v6
296296

297297
- name: Extract version from Cargo.toml
298298
id: version
@@ -304,7 +304,7 @@ jobs:
304304
uses: dtolnay/rust-toolchain@stable
305305

306306
- name: Setup sccache
307-
uses: mozilla-actions/sccache-action@v0.0.9
307+
uses: mozilla-actions/sccache-action@v0.0.10
308308

309309
# save-if main: see check-linux.
310310
- name: Cache Rust dependencies
@@ -315,13 +315,13 @@ jobs:
315315
save-if: ${{ github.ref == 'refs/heads/main' }}
316316

317317
- name: Cache Zig tarball
318-
uses: actions/cache@v4
318+
uses: actions/cache@v5
319319
with:
320320
path: /tmp/zig.tar.xz
321321
key: zig-0.13.0-linux-aarch64
322322

323323
- name: Cache cargo-zigbuild tarball
324-
uses: actions/cache@v4
324+
uses: actions/cache@v5
325325
with:
326326
path: /tmp/cargo-zigbuild.tar.xz
327327
key: cargo-zigbuild-0.22.3-linux-aarch64
@@ -366,7 +366,7 @@ jobs:
366366
version: 1.5
367367

368368
- name: Download frontend dist
369-
uses: actions/download-artifact@v4
369+
uses: actions/download-artifact@v8
370370
with:
371371
name: frontend-dist
372372
path: backend/dist
@@ -380,15 +380,15 @@ jobs:
380380
cargo zigbuild --release --package strom-mcp-server --target aarch64-unknown-linux-gnu.2.31
381381
382382
- name: Upload backend binary
383-
uses: actions/upload-artifact@v4
383+
uses: actions/upload-artifact@v7
384384
with:
385385
name: strom-v${{ steps.version.outputs.version }}-linux-arm64-aarch64-unknown-linux-gnu
386386
path: target/aarch64-unknown-linux-gnu/release/strom
387387
retention-days: 7
388388
if-no-files-found: error
389389

390390
- name: Upload MCP server binary
391-
uses: actions/upload-artifact@v4
391+
uses: actions/upload-artifact@v7
392392
with:
393393
name: strom-mcp-server-v${{ steps.version.outputs.version }}-linux-arm64-aarch64-unknown-linux-gnu
394394
path: target/aarch64-unknown-linux-gnu/release/strom-mcp-server
@@ -404,7 +404,7 @@ jobs:
404404
runs-on: windows-latest
405405
timeout-minutes: 45
406406
steps:
407-
- uses: actions/checkout@v5
407+
- uses: actions/checkout@v6
408408

409409
- name: Extract version from Cargo.toml
410410
id: version
@@ -440,7 +440,7 @@ jobs:
440440
echo "PKG_CONFIG_PATH=D:\gstreamer\1.0\msvc_x86_64\lib\pkgconfig" >> $env:GITHUB_ENV
441441
442442
- name: Download frontend dist
443-
uses: actions/download-artifact@v4
443+
uses: actions/download-artifact@v8
444444
with:
445445
name: frontend-dist
446446
path: backend/dist
@@ -450,7 +450,7 @@ jobs:
450450
# stale or evicted by the next manual run. sccache via MinIO covers
451451
# recompiles instead.
452452
- name: Setup sccache
453-
uses: mozilla-actions/sccache-action@v0.0.9
453+
uses: mozilla-actions/sccache-action@v0.0.10
454454

455455
- name: Run Clippy
456456
run: |
@@ -474,15 +474,15 @@ jobs:
474474
RUSTC_WRAPPER: sccache
475475

476476
- name: Upload backend binary
477-
uses: actions/upload-artifact@v4
477+
uses: actions/upload-artifact@v7
478478
with:
479479
name: strom-v${{ steps.version.outputs.version }}-windows-x86_64-pc-windows-msvc
480480
path: target/release/strom.exe
481481
retention-days: 7
482482
if-no-files-found: error
483483

484484
- name: Upload MCP server binary
485-
uses: actions/upload-artifact@v4
485+
uses: actions/upload-artifact@v7
486486
with:
487487
name: strom-mcp-server-v${{ steps.version.outputs.version }}-windows-x86_64-pc-windows-msvc
488488
path: target/release/strom-mcp-server.exe
@@ -498,7 +498,7 @@ jobs:
498498
runs-on: macos-latest
499499
timeout-minutes: 30
500500
steps:
501-
- uses: actions/checkout@v5
501+
- uses: actions/checkout@v6
502502

503503
- name: Extract version from Cargo.toml
504504
id: version
@@ -518,14 +518,14 @@ jobs:
518518
echo "LIBRARY_PATH=$(brew --prefix)/lib" >> $GITHUB_ENV
519519
520520
- name: Download frontend dist
521-
uses: actions/download-artifact@v4
521+
uses: actions/download-artifact@v8
522522
with:
523523
name: frontend-dist
524524
path: backend/dist
525525

526526
# No rust-cache here: workflow_dispatch-only, see the Windows job.
527527
- name: Setup sccache
528-
uses: mozilla-actions/sccache-action@v0.0.9
528+
uses: mozilla-actions/sccache-action@v0.0.10
529529

530530
- name: Run Clippy
531531
run: |
@@ -549,15 +549,15 @@ jobs:
549549
RUSTC_WRAPPER: sccache
550550

551551
- name: Upload backend binary
552-
uses: actions/upload-artifact@v4
552+
uses: actions/upload-artifact@v7
553553
with:
554554
name: strom-v${{ steps.version.outputs.version }}-macos-aarch64-apple-darwin
555555
path: target/release/strom
556556
retention-days: 7
557557
if-no-files-found: error
558558

559559
- name: Upload MCP server binary
560-
uses: actions/upload-artifact@v4
560+
uses: actions/upload-artifact@v7
561561
with:
562562
name: strom-mcp-server-v${{ steps.version.outputs.version }}-macos-aarch64-apple-darwin
563563
path: target/release/strom-mcp-server

.github/workflows/docker-publish-full.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
version: ${{ steps.version.outputs.version }}
3535
steps:
3636
- name: Checkout repository
37-
uses: actions/checkout@v5
37+
uses: actions/checkout@v6
3838

3939
- name: Set up Docker Buildx
4040
uses: docker/setup-buildx-action@v4
@@ -59,7 +59,7 @@ jobs:
5959
fi
6060
6161
- name: Build and push AMD64 image
62-
uses: docker/build-push-action@v6
62+
uses: docker/build-push-action@v7
6363
with:
6464
context: docker/strom-full
6565
file: docker/strom-full/Dockerfile
@@ -85,7 +85,7 @@ jobs:
8585
packages: write
8686
steps:
8787
- name: Checkout repository
88-
uses: actions/checkout@v5
88+
uses: actions/checkout@v6
8989

9090
- name: Set up Docker Buildx
9191
uses: docker/setup-buildx-action@v4
@@ -109,7 +109,7 @@ jobs:
109109
fi
110110
111111
- name: Build and push ARM64 image
112-
uses: docker/build-push-action@v6
112+
uses: docker/build-push-action@v7
113113
with:
114114
context: docker/strom-full
115115
file: docker/strom-full/Dockerfile

.github/workflows/docker-publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
packages: write
2727
steps:
2828
- name: Checkout repository
29-
uses: actions/checkout@v5
29+
uses: actions/checkout@v6
3030
with:
3131
ref: ${{ github.event.inputs.tag || github.ref }}
3232

@@ -58,7 +58,7 @@ jobs:
5858
fi
5959
6060
- name: Build and push AMD64 image
61-
uses: docker/build-push-action@v6
61+
uses: docker/build-push-action@v7
6262
env:
6363
BUILDKIT_PROGRESS: plain
6464
with:
@@ -89,7 +89,7 @@ jobs:
8989
packages: write
9090
steps:
9191
- name: Checkout repository
92-
uses: actions/checkout@v5
92+
uses: actions/checkout@v6
9393
with:
9494
ref: ${{ github.event.inputs.tag || github.ref }}
9595

@@ -112,7 +112,7 @@ jobs:
112112
fi
113113
114114
- name: Build and push ARM64 image
115-
uses: docker/build-push-action@v6
115+
uses: docker/build-push-action@v7
116116
env:
117117
BUILDKIT_PROGRESS: plain
118118
with:

.github/workflows/release-msi.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
timeout-minutes: 45
3232

3333
steps:
34-
- uses: actions/checkout@v5
34+
- uses: actions/checkout@v6
3535

3636
- name: Determine version
3737
id: version
@@ -257,7 +257,7 @@ jobs:
257257
Write-Host "MSI built successfully: $([math]::Round($msiSize, 2)) MB"
258258
259259
- name: Upload MSI artifact
260-
uses: actions/upload-artifact@v4
260+
uses: actions/upload-artifact@v7
261261
with:
262262
name: strom-msi-${{ steps.version.outputs.version }}
263263
path: installer/windows/build/strom-${{ steps.version.outputs.version }}-windows-x86_64.msi
@@ -266,7 +266,7 @@ jobs:
266266

267267
- name: Upload MSI to release
268268
if: github.event_name != 'workflow_dispatch' || github.event.inputs.upload_to_release != 'false'
269-
uses: softprops/action-gh-release@v2
269+
uses: softprops/action-gh-release@v3
270270
with:
271271
tag_name: v${{ steps.version.outputs.version }}
272272
files: installer/windows/build/strom-${{ steps.version.outputs.version }}-windows-x86_64.msi

0 commit comments

Comments
 (0)