Skip to content

Commit 18cc717

Browse files
authored
Upgrade GitHub Actions for Node 24 compatibility (#119)
## 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 | Old Version(s) | New Version | Release | Files | |--------|---------------|-------------|---------|-------| | `actions/checkout` | [`v4`](https://github.com/actions/checkout/releases/tag/v4) | [`v6`](https://github.com/actions/checkout/releases/tag/v6) | [Release](https://github.com/actions/checkout/releases/tag/v6) | main.yml, pull_request.yml, pull_request_label.yml | ## 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 Actions that were previously pinned to commit SHAs remain pinned to SHAs (updated to the latest release SHA) to maintain the security benefits of immutable references. ### Testing These changes only affect CI/CD workflow configurations and should not impact application functionality. The workflows should be tested by running them on a branch before merging. Signed-off-by: Salman Muin Kayser Chishti <13schishti@gmail.com>
1 parent 3528deb commit 18cc717

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
integration-test-matrix: '${{ steps.generate-matrix.outputs.integration-test-matrix }}'
7373
steps:
7474
- name: Checkout repository
75-
uses: actions/checkout@v4
75+
uses: actions/checkout@v6
7676
with:
7777
persist-credentials: false
7878
- id: generate-matrix
@@ -101,7 +101,7 @@ jobs:
101101
example-packages-matrix: '${{ steps.generate-matrix.outputs.example-packages-matrix }}'
102102
steps:
103103
- name: Checkout repository
104-
uses: actions/checkout@v4
104+
uses: actions/checkout@v6
105105
with:
106106
persist-credentials: false
107107
- id: generate-matrix

.github/workflows/pull_request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
integration-test-matrix: '${{ steps.generate-matrix.outputs.integration-test-matrix }}'
8080
steps:
8181
- name: Checkout repository
82-
uses: actions/checkout@v4
82+
uses: actions/checkout@v6
8383
with:
8484
persist-credentials: false
8585
- id: generate-matrix
@@ -108,7 +108,7 @@ jobs:
108108
example-packages-matrix: '${{ steps.generate-matrix.outputs.example-packages-matrix }}'
109109
steps:
110110
- name: Checkout repository
111-
uses: actions/checkout@v4
111+
uses: actions/checkout@v6
112112
with:
113113
persist-credentials: false
114114
- id: generate-matrix

.github/workflows/pull_request_label.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
timeout-minutes: 1
1515
steps:
1616
- name: Checkout repository
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@v6
1818
with:
1919
persist-credentials: false
2020
- name: Check for Semantic Version label

0 commit comments

Comments
 (0)