ci: update GitHub Actions to Node 24 majors - #1934
Merged
Merged
Conversation
GitHub runners now force Node 20 actions onto Node 24 and warn: "Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v3, actions/checkout@v3, actions/upload-artifact@v4." Bump every action to its latest major that runs on node24: actions/checkout v3 -> v7, actions/cache v3 -> v6, actions/upload-artifact v4 -> v7, actions/download-artifact v4 -> v8 (upload and download stay compatible), softprops/action-gh-release v1 -> v3, and pin ad-m/github-push-action from master to v1.3.0. shivammathur/setup-php@v2 already runs on node24.
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.
Summary
GitHub Actions runners now force actions built for Node 20 onto Node 24 and print a deprecation warning on every run (e.g. "Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v3, actions/checkout@v3, actions/upload-artifact@v4"). Once Node 20 is removed from runners these steps will fail. This bumps every action in
test_and_build.ymlto its latest major that declaresruns.using: node24.Changes
Compatibility notes
pull_request_target/workflow_run, which this workflow doesn't use.body_path,files,draft,name,token).master.Testing
run:scripts.developpushes and tags, so they'll be exercised by the next nightly and release.