Skip to content

Commit 588fa47

Browse files
committed
Merge #422: ci: upgrade GitHub Actions to Node.js 24 compatible versions
54adf0b ci: upgrade GitHub Actions to Node.js 24 compatible versions (Jose Celano) Pull request description: ## Summary Upgrades GitHub Actions across all 13 workflow files to versions that run on Node.js 24, resolving deprecation warnings. Node.js 20 is EOL in April 2026. Runners will default to Node.js 24 starting **June 2nd, 2026**, and Node.js 20 will be fully removed in fall 2026. ## Changes | Action | Old | New | |---|---|---| | `actions/checkout` | `@v4` (Node 20) | `@v5` (Node 24) | | `actions/upload-artifact` | `@v4` (Node 20) | `@v6` (Node 24) | | `actions/download-artifact` | `@v4` (Node 20) | `@v7` (Node 24) | | `actions/setup-node` | `@v4` (Node 20) | `@v5` (Node 24) | ## Affected Workflows - `backup-container.yaml` - `code-statistics.yml` - `container.yaml` - `copilot-setup-steps.yml` - `coverage.yml` - `docker-security-scan.yml` - `linting.yml` - `test-dependency-installer.yml` - `test-e2e-deployment.yml` - `test-e2e-infrastructure.yml` - `test-lxd-provision.yml` - `test-sdk-examples.yml` - `testing.yml` ## Notes The `actions/cache` deprecation warning inside `aquasecurity/trivy-action` cannot be fixed here — it is an internal dependency managed by Aqua Security and will be resolved when they release an updated version. ## Reference - [Deprecation of Node 20 on GitHub Actions runners](https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/) ACKs for top commit: josecelano: ACK 54adf0b Tree-SHA512: 46c5691d3bcb3be916f621c46546add8e7f6bd14ed37baa27bff257db2803624da00b3f1093a235d28e0bcf621214e9707a588c9af5cf0c08570ae266269d14c
2 parents 0d362a9 + 54adf0b commit 588fa47

13 files changed

Lines changed: 24 additions & 24 deletions

.github/workflows/backup-container.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545

4646
steps:
4747
- name: Checkout
48-
uses: actions/checkout@v4
48+
uses: actions/checkout@v5
4949

5050
- name: Setup Docker Buildx
5151
uses: docker/setup-buildx-action@v3
@@ -141,7 +141,7 @@ jobs:
141141

142142
steps:
143143
- name: Checkout
144-
uses: actions/checkout@v4
144+
uses: actions/checkout@v5
145145

146146
- name: Docker Meta
147147
id: meta
@@ -184,7 +184,7 @@ jobs:
184184

185185
steps:
186186
- name: Checkout
187-
uses: actions/checkout@v4
187+
uses: actions/checkout@v5
188188

189189
- name: Docker Meta
190190
id: meta

.github/workflows/code-statistics.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
steps:
1515
- name: Checkout repository
16-
uses: actions/checkout@v4
16+
uses: actions/checkout@v5
1717

1818
- name: Install tokei
1919
run: cargo install tokei

.github/workflows/container.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151

5252
steps:
5353
- name: Checkout
54-
uses: actions/checkout@v4
54+
uses: actions/checkout@v5
5555

5656
- name: Setup Docker Buildx
5757
uses: docker/setup-buildx-action@v3
@@ -132,7 +132,7 @@ jobs:
132132

133133
steps:
134134
- name: Checkout
135-
uses: actions/checkout@v4
135+
uses: actions/checkout@v5
136136

137137
- name: Docker Meta
138138
id: meta
@@ -175,7 +175,7 @@ jobs:
175175

176176
steps:
177177
- name: Checkout
178-
uses: actions/checkout@v4
178+
uses: actions/checkout@v5
179179

180180
- name: Docker Meta
181181
id: meta

.github/workflows/copilot-setup-steps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
steps:
2727
- name: Checkout code
28-
uses: actions/checkout@v4
28+
uses: actions/checkout@v5
2929

3030
- name: Set up Rust toolchain
3131
uses: dtolnay/rust-toolchain@stable

.github/workflows/coverage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
steps:
1919
- id: checkout
2020
name: Checkout Repository
21-
uses: actions/checkout@v4
21+
uses: actions/checkout@v5
2222

2323
- id: setup
2424
name: Setup Toolchain
@@ -54,7 +54,7 @@ jobs:
5454

5555
- id: upload-coverage
5656
name: Upload HTML Coverage Report
57-
uses: actions/upload-artifact@v4
57+
uses: actions/upload-artifact@v6
5858
with:
5959
name: coverage-html-report
6060
path: target/llvm-cov/html/

.github/workflows/docker-security-scan.yml

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

4949
steps:
5050
- name: Checkout code
51-
uses: actions/checkout@v4
51+
uses: actions/checkout@v5
5252

5353
# Build images locally so Trivy scans exactly
5454
# what this repository produces
@@ -86,7 +86,7 @@ jobs:
8686
scanners: "vuln"
8787

8888
- name: Upload SARIF artifact
89-
uses: actions/upload-artifact@v4
89+
uses: actions/upload-artifact@v6
9090
if: always()
9191
with:
9292
name: sarif-project-${{ matrix.image.name }}-${{ github.run_id }}
@@ -140,7 +140,7 @@ jobs:
140140
echo "name=$(echo '${{ matrix.image }}' | tr '/:' '-')" >> "$GITHUB_OUTPUT"
141141
142142
- name: Upload SARIF artifact
143-
uses: actions/upload-artifact@v4
143+
uses: actions/upload-artifact@v6
144144
if: always()
145145
with:
146146
name: sarif-third-party-${{ steps.sanitize.outputs.name }}-${{ github.run_id }}
@@ -162,7 +162,7 @@ jobs:
162162

163163
steps:
164164
- name: Download all SARIF artifacts
165-
uses: actions/download-artifact@v4
165+
uses: actions/download-artifact@v7
166166
with:
167167
pattern: sarif-*-${{ github.run_id }}
168168

.github/workflows/linting.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ jobs:
2323

2424
- id: checkout
2525
name: Checkout Repository
26-
uses: actions/checkout@v4
26+
uses: actions/checkout@v5
2727

2828
- id: node
2929
name: Setup Node.js
30-
uses: actions/setup-node@v4
30+
uses: actions/setup-node@v5
3131
with:
3232
node-version: "20"
3333

.github/workflows/test-dependency-installer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535

3636
steps:
3737
- name: Checkout repository
38-
uses: actions/checkout@v4
38+
uses: actions/checkout@v5
3939

4040
- name: Setup Rust toolchain
4141
uses: dtolnay/rust-toolchain@stable

.github/workflows/test-e2e-deployment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828

2929
steps:
3030
- name: Checkout repository
31-
uses: actions/checkout@v4
31+
uses: actions/checkout@v5
3232

3333
- name: Tune GitHub hosted runner network
3434
uses: smorimoto/tune-github-hosted-runner-network@v1

.github/workflows/test-e2e-infrastructure.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424

2525
steps:
2626
- name: Checkout repository
27-
uses: actions/checkout@v4
27+
uses: actions/checkout@v5
2828

2929
- name: Tune GitHub-hosted runner network
3030
uses: smorimoto/tune-github-hosted-runner-network@v1

0 commit comments

Comments
 (0)