chore(ci): upgrade actions to Node 24 runtimes - #31
Open
geekbrother wants to merge 1 commit into
Open
Conversation
GitHub deprecated the Node.js 20 runtime; actions declaring `runs.using: node20` are force-run on Node 24 and will stop working once the fallback is removed. These reusable workflows run inside consumer repos, so every node20 action pinned here emits the deprecation warning in those repos' runs. Bumps each action to the newest major that declares `runs.using: node24`: actions/cache (+ /restore, /save) v4 -> v6 actions/upload-artifact v4 -> v7 aws-actions/configure-aws-credentials v4 -> v6 hashicorp/setup-terraform v3 -> v4 terraform-linters/setup-tflint v4 -> v6 docker/build-push-action v5 -> v7 docker/login-action v3 -> v4 docker/metadata-action v5 -> v6 docker/setup-buildx-action v3 -> v4 arduino/setup-protoc has no Node 24 release upstream (v3 is the latest and is still node20) and is left as-is. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
GitHub deprecated the Node.js 20 runtime. Actions declaring
runs.using: node20are currently force-run on Node 24 and will break once that fallback is removed.These are reusable workflows that execute inside consumer repos, so every outdated action pinned here emits the deprecation warning in those repos' workflow runs — nothing a consumer does can suppress it.
Companion PRs:
WalletConnect/actions#110(shared composite actions) andWalletConnect/infra#543(the repo the alert was originally reported from).Change
Each action bumped to the newest major that declares
runs.using: node24, verified by readingaction.ymlat the target tag:actions/cacheci-check-infra,ci-plan-infra,deploy-infraactions/cache/restore,/saveexamples/sub-validateactions/upload-artifactci-plan-infraaws-actions/configure-aws-credentialsbuild-publish,ci-plan-infra,deploy-app,deploy-infra,release-apphashicorp/setup-terraformci-check-infra,ci-plan-infra,deploy-infraterraform-linters/setup-tflintci-check-infradocker/build-push-actionbuild-publish,release-appdocker/login-actionbuild-publish,release-appdocker/metadata-actionbuild-publish,release-appdocker/setup-buildx-actionbuild-publish,release-appactions/checkoutwas already on v6, andactions/download-artifacton v8 — both node24, unchanged.examples/is bumped too so copied templates don't reintroduce the problem.Breaking changes reviewed
setup-tflint@v5made TFLint exit code 2 a failure.ci-check-infrainvokestflint --recursive --format=compactfrom arun:step, where bash already fails on any non-zero exit — no behaviour change.build-push-action@v6added build summaries (opt-out viaDOCKER_BUILD_SUMMARY); v7 removed the already-deprecatedDOCKER_BUILD_NO_SUMMARY/DOCKER_BUILD_EXPORT_RETENTION_DAYSenvs, neither of which is set here. The inputs used (context,push,tags,labels,cache-from,cache-to) are unchanged.configure-aws-credentials@v5tightened invalid-boolean input handling; the inputs used here are strings.upload-artifact@v7pairs with thedownload-artifact@v8already in use — both on the same artifact v4 backend.login-action@v4,metadata-action@v6,setup-buildx-action@v4,setup-terraform@v4,cache@v6are runtime-only bumps for the inputs used here.Not fixed — no Node 24 release exists upstream
arduino/setup-protoc@v3(used inci-check-app.yml) — v3 is the latest release and is still node20. It will keep emitting the warning until upstream ships Node 24. Worth tracking separately.Propagation note
11 consumer usages across the org reference these workflows/actions at
@mainand pick the fix up on merge. 8 usages are pinned to@0.2.26and will need a new tag cut before they benefit.Verification
uses:ref in this repo resolves to a node12/node16/node20 action any more, exceptarduino/setup-protocabove.🤖 Generated with Claude Code