ci: bump JS actions to Node 24 versions#7
Merged
Conversation
Node.js 20 is removed from GitHub runners after 2026-09-16, which would break any action still pinned to a Node-20 release. Bump the JavaScript actions to their latest Node-24 majors: - actions/checkout v4 -> v6 - astral-sh/setup-uv v3 -> v8 - actions/upload-artifact v4 -> v7 - actions/download-artifact v4 -> v8 (interoperates with upload v7) pypa/gh-action-pypi-publish stays at release/v1 (Docker action, unaffected). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Xin Wang <xiwang5@microsoft.com>
astral-sh/setup-uv does not publish a bare v8 major tag (only full versions like v8.2.0), so @v8 failed to resolve. Pin the exact latest. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Xin Wang <xiwang5@microsoft.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.
Summary
Bumps the JavaScript-based GitHub Actions to their latest Node-24 major versions, clearing the recurring
Node.js 20 actions are deprecatedCI warning. Node 20 is removed from GitHub runners after 2026-09-16, after which actions pinned to Node-20 releases would hard-fail.Changes
actions/checkoutv4v6astral-sh/setup-uvv3v8actions/upload-artifactv4v7actions/download-artifactv4v8pypa/gh-action-pypi-publish@release/v1is left unchanged — it's a Docker container action, unaffected by the Node runtime deprecation.upload-artifact@v7anddownload-artifact@v8are designed to interoperate (v8 explicitly supports v7's upload format); the workflow uses standard whole-directory artifacts, so the default behavior is unchanged.Validation
ci.ymlpaths (checkout + setup-uv) are exercised by this PR's CI run.publish.yml's artifact actions run only on a release tag; they'll be exercised on the next publish.No logic changes.
Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com