Skip to content

ci: bump JS actions to Node 24 versions#7

Merged
wangxin merged 2 commits into
mainfrom
ci-bump-node24-actions
Jun 12, 2026
Merged

ci: bump JS actions to Node 24 versions#7
wangxin merged 2 commits into
mainfrom
ci-bump-node24-actions

Conversation

@wangxin

@wangxin wangxin commented Jun 12, 2026

Copy link
Copy Markdown
Owner

Summary

Bumps the JavaScript-based GitHub Actions to their latest Node-24 major versions, clearing the recurring Node.js 20 actions are deprecated CI warning. Node 20 is removed from GitHub runners after 2026-09-16, after which actions pinned to Node-20 releases would hard-fail.

Changes

Action Before After
actions/checkout v4 v6
astral-sh/setup-uv v3 v8
actions/upload-artifact v4 v7
actions/download-artifact v4 v8

pypa/gh-action-pypi-publish@release/v1 is left unchanged — it's a Docker container action, unaffected by the Node runtime deprecation.

upload-artifact@v7 and download-artifact@v8 are designed to interoperate (v8 explicitly supports v7's upload format); the workflow uses standard whole-directory artifacts, so the default behavior is unchanged.

Validation

  • Workflow YAML parses cleanly.
  • ci.yml paths (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

wangxin and others added 2 commits June 12, 2026 14:47
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>
@wangxin
wangxin merged commit aa6e105 into main Jun 12, 2026
18 checks passed
@wangxin
wangxin deleted the ci-bump-node24-actions branch June 12, 2026 06:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant