Skip to content

Upgrade GitHub Actions for Node 24 compatibility#270

Merged
Pangjiping merged 1 commit intoalibaba:mainfrom
salmanmkc:upgrade-github-actions-node24
Feb 28, 2026
Merged

Upgrade GitHub Actions for Node 24 compatibility#270
Pangjiping merged 1 commit intoalibaba:mainfrom
salmanmkc:upgrade-github-actions-node24

Conversation

@salmanmkc
Copy link
Contributor

Summary

Upgrade GitHub Actions to their latest versions to ensure compatibility with Node 24, as Node 20 will reach end-of-life in April 2026.

Changes

Action Old Version(s) New Version Release Files
actions/cache v4 v5 Release publish-js-sdks.yml
actions/checkout v4 v6 Release deploy-docs-pages.yml, egress-test.yaml.yml, execd-test.yml, ingress-test.yaml, publish-components.yml, publish-csharp-sdks.yml, publish-java-sdks.yml, publish-js-sdks.yml, publish-python-sdks.yml, publish-server.yml, real-e2e.yml, sandbox-k8s-e2e.yml, sandbox-k8s-test.yml, sdk-unit-tests.yml, server-test.yml, verify-license.yml
actions/setup-dotnet v4 v5 Release publish-csharp-sdks.yml, real-e2e.yml, sdk-unit-tests.yml
actions/setup-go v5 v6 Release egress-test.yaml.yml, execd-test.yml, ingress-test.yaml, sandbox-k8s-e2e.yml, sandbox-k8s-test.yml
actions/setup-java v4 v5 Release publish-java-sdks.yml, sdk-unit-tests.yml
actions/setup-node v4 v6 Release deploy-docs-pages.yml, publish-js-sdks.yml
actions/setup-python v5 v6 Release execd-test.yml, publish-python-sdks.yml, publish-server.yml, sdk-unit-tests.yml, server-test.yml
actions/upload-artifact v4 v7 Release egress-test.yaml.yml, real-e2e.yml

Context

Per GitHub's announcement, Node 20 is being deprecated and runners will begin using Node 24 by default starting June 2nd, 2026.

Why this matters

  • Node 20 EOL: April 2026
  • Node 24 default: June 2nd, 2026
  • Action: Update to latest action versions that support Node 24

⚠️ Breaking Changes

  • actions/checkout (v4 → v6): Major version upgrade — review the release notes for breaking changes
  • actions/setup-node (v4 → v6): Major version upgrade — review the release notes for breaking changes
    • ⚠️ Input always-auth was removed — if your workflow uses it, the step may fail
  • actions/setup-go (v5 → v6): Major version upgrade — review the release notes for breaking changes
  • actions/upload-artifact (v4 → v7): Major version upgrade — review the release notes for breaking changes
  • actions/setup-python (v5 → v6): Major version upgrade — review the release notes for breaking changes
  • actions/setup-dotnet (v4 → v5): Major version upgrade — review the release notes for breaking changes
  • actions/setup-java (v4 → v5): Major version upgrade — review the release notes for breaking changes
  • actions/cache (v4 → v5): Major version upgrade — review the release notes for breaking changes

Security Note

Actions that were previously pinned to commit SHAs remain pinned to SHAs (updated to the latest release SHA) to maintain the security benefits of immutable references.

Testing

These changes only affect CI/CD workflow configurations and should not impact application functionality. The workflows should be tested by running them on a branch before merging.

Signed-off-by: Salman Muin Kayser Chishti <13schishti@gmail.com>
@salmanmkc salmanmkc requested a review from jwx0925 as a code owner February 28, 2026 09:11
Copilot AI review requested due to automatic review settings February 28, 2026 09:11
Copy link

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

Upgrades GitHub Actions versions across CI/CD workflows to ensure runner-side compatibility as GitHub Actions moves from Node 20 to Node 24.

Changes:

  • Bump actions/checkout from v4 to v6 across workflows.
  • Bump language/tool setup actions (setup-node, setup-python, setup-go, setup-java, setup-dotnet) to newer major versions.
  • Bump artifact/cache actions (upload-artifact, cache) to newer major versions.

Reviewed changes

Copilot reviewed 16 out of 16 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
.github/workflows/verify-license.yml Updates actions/checkout to a newer major version.
.github/workflows/server-test.yml Updates checkout and setup-python major versions.
.github/workflows/sdk-unit-tests.yml Updates checkout, setup-python, setup-java, and setup-dotnet major versions.
.github/workflows/sandbox-k8s-test.yml Updates checkout and setup-go major versions.
.github/workflows/sandbox-k8s-e2e.yml Updates checkout and setup-go major versions.
.github/workflows/real-e2e.yml Updates checkout, upload-artifact, and setup-dotnet major versions.
.github/workflows/publish-server.yml Updates checkout and setup-python major versions.
.github/workflows/publish-python-sdks.yml Updates checkout and setup-python major versions across jobs.
.github/workflows/publish-js-sdks.yml Updates checkout, setup-node, and cache major versions.
.github/workflows/publish-java-sdks.yml Updates checkout and setup-java major versions.
.github/workflows/publish-csharp-sdks.yml Updates checkout and setup-dotnet major versions.
.github/workflows/publish-components.yml Updates checkout to a newer major version.
.github/workflows/ingress-test.yaml Updates checkout and setup-go major versions.
.github/workflows/execd-test.yml Updates checkout, setup-go, and setup-python major versions.
.github/workflows/egress-test.yaml.yml Updates checkout, setup-go, and upload-artifact major versions.
.github/workflows/deploy-docs-pages.yml Updates checkout and setup-node major versions.

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

@Pangjiping Pangjiping merged commit 0dba2a5 into alibaba:main Feb 28, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants