Skip to content

Commit e453391

Browse files
barnabasbusaclaude
andauthored
build(deps): update GitHub Actions to Node.js 24 (#340)
Fixing: ``` Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/setup-java@3a4f6e1, docker/login-action@74a5d14, docker/setup-buildx-action@b5ca514. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/ ``` ## Summary - Updates all GitHub Actions to latest versions with Node.js 24 runtime support - Resolves deprecation warnings: "Node.js 20 actions are deprecated" - Pins `actions/setup-python` to a full SHA (was unpinned `@v6`) ### Updated actions | Action | Old | New | |--------|-----|-----| | `actions/checkout` | v6.0.1 | v6.0.2 | | `actions/setup-java` | v4.7.0 | v5.2.0 | | `actions/setup-node` | v4.3.0 | v6.3.0 | | `actions/setup-go` | v4.1.0 | v6.3.0 | | `docker/login-action` | v3.4.0 / v3.7.0 | v4.0.0 | | `docker/setup-buildx-action` | v3.10.0 | v4.0.0 | | `docker/build-push-action` | v5.4.0 | v7.0.0 | | `actions/setup-python` | @v6 (unpinned) | v6.2.0 | ## Test plan - [ ] Trigger a scheduled workflow run and verify builds complete without Node.js 20 deprecation warnings - [ ] Verify Docker build & push still works correctly - [ ] Verify manifest creation still works 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e614876 commit e453391

4 files changed

Lines changed: 17 additions & 17 deletions

File tree

.github/actions/deploy/action.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ runs:
7979
using: composite
8080
steps:
8181
- name: Checkout this repo
82-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
82+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
8383
- name: Check out source repository
84-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
84+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
8585
with:
8686
repository: ${{ inputs.source_repository }}
8787
path: source
@@ -111,7 +111,7 @@ runs:
111111
run: |
112112
docker context use builders || docker context create builders
113113
- name: Set up Docker Buildx
114-
uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3.10.0
114+
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
115115
with:
116116
endpoint: builders
117117
- name: Unlock MacOS keychain for Docker Hub login
@@ -120,15 +120,15 @@ runs:
120120
run: |
121121
security -v unlock-keychain -p ${{ inputs.MACOS_PASSWORD }} ~/Library/Keychains/login.keychain-db
122122
- name: Login to Docker Hub
123-
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
123+
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0
124124
with:
125125
username: ${{ inputs.DOCKER_USERNAME }}
126126
password: ${{ inputs.DOCKER_PASSWORD }}
127127
- name: Login to harbor registry
128128
if: ${{ inputs.harbor_registry != '' }}
129129
id: harbor_login
130130
continue-on-error: true
131-
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
131+
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0
132132
with:
133133
registry: ${{ inputs.harbor_registry }}
134134
username: ${{ inputs.HARBOR_USERNAME }}
@@ -178,7 +178,7 @@ runs:
178178
- name: Docker build & push
179179
if: ${{ inputs.build_script == '' }}
180180
id: docker_build
181-
uses: docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 # v5.4.0
181+
uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7.0.0
182182
with:
183183
context: ./source
184184
file: ${{ inputs.target_dockerfile }}

.github/actions/install-deps/action.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,23 @@ runs:
1111
using: composite
1212
steps:
1313
- name: Checkout this repo
14-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
15-
- uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0
14+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
15+
- uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
1616
if: contains(inputs.repository, 'teku')
1717
with:
1818
distribution: 'temurin'
1919
java-version: '21'
20-
- uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0
20+
- uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
2121
if: contains(inputs.repository, 'besu')
2222
with:
2323
distribution: 'temurin'
2424
java-version: '21'
25-
- uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
25+
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
2626
if: contains(inputs.repository, 'lodestar') || contains(inputs.repository, 'ethereumjs')
2727
with:
2828
node-version: 20
2929
check-latest: true
30-
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
30+
- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
3131
if: contains(inputs.repository, 'prysm')
3232
with:
3333
go-version: '1.23.0'

.github/actions/manifest/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ runs:
4444
using: composite
4545
steps:
4646
- name: Checkout this repo
47-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
47+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4848
- name: Generate images list
4949
id: generate_images_list
5050
shell: bash
@@ -90,19 +90,19 @@ runs:
9090
run: |
9191
docker context create builders
9292
- name: Set up Docker Buildx
93-
uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3.10.0
93+
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
9494
with:
9595
endpoint: builders
9696
- name: Login to Docker Hub
97-
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
97+
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0
9898
with:
9999
username: ${{ inputs.DOCKER_USERNAME }}
100100
password: ${{ inputs.DOCKER_PASSWORD }}
101101
- name: Login to harbor registry
102102
if: ${{ inputs.harbor_registry != '' }}
103103
id: harbor_login
104104
continue-on-error: true
105-
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
105+
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0
106106
with:
107107
registry: ${{ inputs.harbor_registry }}
108108
username: ${{ inputs.HARBOR_USERNAME }}

.github/workflows/scheduled.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1919
- uses: mikefarah/yq@5a7e72a743649b1b3a47d1a1d8214f3453173c51 # v4.52.4
2020
- name: Set up Python
21-
uses: actions/setup-python@v6
21+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2222
with:
2323
python-version: '3.10'
2424
- name: Install dependencies
@@ -30,7 +30,7 @@ jobs:
3030
python generate_config.py
3131
echo "Generated config.yaml for workflow use"
3232
- name: Login to Docker Hub
33-
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
33+
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0
3434
with:
3535
username: ${{ vars.DOCKER_USERNAME }}
3636
password: ${{ secrets.DOCKER_PASSWORD }}

0 commit comments

Comments
 (0)