Skip to content

Commit d6109d7

Browse files
authored
Upgrade GitHub Actions for Node 24 compatibility (#452)
## Summary Upgrade GitHub Actions to their latest versions to ensure compatibility with Node 24, as Node 20 will reach end-of-life in April 2026. ## Changes | Action | New Version | Release | |--------|-------------|---------| | `actions/checkout` | [`8e8c483`](actions/checkout@8e8c483) (v6) | [Release](https://github.com/actions/checkout/releases/tag/v6) | | `actions/upload-artifact` | [`b7c566a`](actions/upload-artifact@b7c566a) (v6) | [Release](https://github.com/actions/upload-artifact/releases/tag/v6) | | `actions/download-artifact` | [`37930b1`](actions/download-artifact@37930b1) (v7) | [Release](https://github.com/actions/download-artifact/releases/tag/v7) | ## Context Per [GitHub's announcement](https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/), Node 20 is being deprecated and runners will begin using Node 24 by default starting March 4th, 2026. ### Why this matters - **Node 20 EOL**: April 2026 - **Node 24 default**: March 4th, 2026 - **Action**: Update to latest action versions that support Node 24 ### Security Note All actions are pinned to commit SHAs for security, with version tags noted in comments for reference. ### Testing These changes only affect CI/CD workflow configurations and should not impact application functionality.
1 parent 9ba8267 commit d6109d7

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/build-test-images.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
exit 1
5454
fi
5555
- name: Checkout repository
56-
uses: actions/checkout@v4
56+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
5757
- name: Login to GitHub Container Registry
5858
uses: docker/login-action@v3
5959
with:

.github/workflows/containerization-build-template.yml

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

3030
steps:
3131
- name: Checkout repository
32-
uses: actions/checkout@v4
32+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
3333
with:
3434
fetch-depth: 0
3535

@@ -86,13 +86,13 @@ jobs:
8686
8787
- name: Save vminit artifact
8888
if: ${{ !inputs.release }}
89-
uses: actions/upload-artifact@v4
89+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
9090
with:
9191
name: vminit
9292
path: vminit.tar
9393

9494
- name: Save documentation artifact
95-
uses: actions/upload-artifact@v4
95+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
9696
with:
9797
name: api-docs
9898
path: "./_site.tgz"
@@ -111,7 +111,7 @@ jobs:
111111
uses: actions/configure-pages@v5
112112

113113
- name: Download a single artifact
114-
uses: actions/download-artifact@v4
114+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7
115115
with:
116116
name: api-docs
117117

0 commit comments

Comments
 (0)