Skip to content

Update GitHub Actions to Node 24 compatible versions#2031

Merged
mattgodbolt merged 1 commit intomainfrom
update-github-actions-node24
Mar 12, 2026
Merged

Update GitHub Actions to Node 24 compatible versions#2031
mattgodbolt merged 1 commit intomainfrom
update-github-actions-node24

Conversation

@mattgodbolt
Copy link
Copy Markdown
Member

Node.js 20 actions are deprecated and will be forced to Node 24 on June 2nd 2026. Update all official actions to their Node 24 releases:

  • actions/checkout v4 -> v5
  • astral-sh/setup-uv v4 -> v7
  • actions/setup-python v5 -> v6
  • actions/upload-artifact v4 -> v5
  • actions/download-artifact v4 -> v5
  • actions/github-script v7 -> v8

Node.js 20 actions are deprecated and will be forced to Node 24 on
June 2nd 2026. Update all official actions to their Node 24 releases:

- actions/checkout v4 -> v5
- astral-sh/setup-uv v4 -> v7
- actions/setup-python v5 -> v6
- actions/upload-artifact v4 -> v5
- actions/download-artifact v4 -> v5
- actions/github-script v7 -> v8

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates GitHub Actions workflow dependencies to major versions that are compatible with the upcoming Node.js 24 runtime enforcement for actions, ensuring CI/CD workflows keep running past the deprecation deadline.

Changes:

  • Bump actions/checkout from v4 to v5 across all impacted workflows.
  • Update additional official actions to their newer major versions (setup-python@v6, upload-artifact@v5, download-artifact@v5, github-script@v8).
  • Update astral-sh/setup-uv from v4 to v7 in the Python test workflow.

Reviewed changes

Copilot reviewed 17 out of 17 changed files in this pull request and generated no comments.

Show a summary per file
File Description
.github/workflows/scheduled-win-lib-builds.yaml Bumps actions/checkout to v5 for scheduled Windows library builds.
.github/workflows/scheduled-win-lib-builds-full.yaml Bumps actions/checkout to v5 for full scheduled Windows library builds.
.github/workflows/scheduled-nightly-win-lib-builds.yaml Bumps actions/checkout to v5 for nightly Windows library builds.
.github/workflows/scheduled-nightly-lin-lib-builds.yaml Bumps actions/checkout to v5 for nightly Linux library builds.
.github/workflows/scheduled-nightly-lin-lib-builds.yaml Bumps actions/checkout to v5 for nightly Linux library builds.
.github/workflows/scheduled-lin-lib-builds.yaml Bumps actions/checkout to v5 for scheduled Linux library builds.
.github/workflows/scheduled-lin-lib-builds-full.yaml Bumps actions/checkout to v5 for full scheduled Linux library builds.
.github/workflows/python-tests.yaml Bumps actions/checkout to v5 and setup-uv to v7 for Python CI.
.github/workflows/package-ms-compiler.yaml Bumps actions/checkout to v5 for MS compiler packaging workflow.
.github/workflows/install.yml Bumps actions/checkout to v5 for manual install workflow.
.github/workflows/consolidate.yml Bumps actions/checkout to v5 for consolidation workflow.
.github/workflows/check-build-requirements.yml Bumps checkout to v5, setup-python to v6, and upload-artifact to v5.
.github/workflows/check-build-requirements-comment.yml Bumps download-artifact to v5 and github-script to v8 for PR commenting.
.github/workflows/cefs-gc.yml Bumps actions/checkout to v5 for CEFS GC workflow.
.github/workflows/bespoke-build.yaml Bumps actions/checkout to v5 for bespoke build workflow.
.github/workflows/bespoke-build-arm64.yaml Bumps actions/checkout to v5 for ARM64 bespoke build workflow.
.github/workflows/adhoc-command.yml Bumps actions/checkout to v5 for ad-hoc command workflow.
.github/workflows/adhoc-command-lin-builder.yml Bumps actions/checkout to v5 for ad-hoc Linux builder workflow.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mattgodbolt mattgodbolt merged commit 68cf741 into main Mar 12, 2026
5 checks passed
@mattgodbolt mattgodbolt deleted the update-github-actions-node24 branch March 12, 2026 22:55
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.

2 participants