Bump GitHub Actions to Node 24 runtimes#240
Merged
Merged
Conversation
CI: - Update all Node-based actions to the lowest major that defaults to the Node.js 24 runtime, clearing the Node.js 20 deprecation warning on the runners. - actions/checkout v4 -> v5 and actions/cache v4 -> v5 (Node 24 baselines). - actions/upload-artifact v4 -> v6 and actions/download-artifact v4 -> v7: earlier majors only had preliminary Node 24 support and still defaulted to Node 20. v6/v7 share the @actions/artifact v4 backend and stay mutually compatible (classic zip/unzip), so the release/weekly jobs that pass PHP-patch artifacts between stages keep working. - docker/login-action v3 -> v4, docker/setup-buildx-action v3 -> v4, docker/build-push-action v6 -> v7, dorny/paths-filter v3 -> v4. - Left sigstore/cosign-installer@v3 and EmbarkStudios/cargo-deny-action@v2 untouched — composite/container actions not affected by the Node 20 deprecation.
7f9e7af to
4a84d8f
Compare
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.
What and why
GitHub is deprecating Node.js 20 on its runners — actions declared as
node20are force-run on Node 24 with a warning. This bumps every Node-based action to the lowest major that defaults to the Node.js 24 runtime so the warning goes away.Changes
Notes
@actions/artifactv4 backend and stay mutually compatible (classic zip/unzip), so the release/weekly jobs that pass PHP-patch artifacts between stages keep working.pull_request_target).sigstore/cosign-installer@v3andEmbarkStudios/cargo-deny-action@v2— composite/container actions not affected by the Node 20 deprecation.checkout@v5requires runner ≥ v2.327.1 — always satisfied on GitHub-hosted runners; no self-hosted runners are used in this repo.All four workflow files were validated to still parse.