Skip to content

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 bazel.yml, python.yml, rust.yml
actions/checkout main, v4 v6 Release bazel.yml, deploy.yml, engdoc.yml, go.yml, golangci-lint.yml, publish_python_dotpromptz_package.yml, publish_python_handlebarrz_package.yml, python.yml, release.yml, rust.yml, smoke-test-wheels.yml, test.yml
actions/download-artifact v4 v7 Release publish_python_dotpromptz_package.yml, publish_python_handlebarrz_package.yml
actions/labeler v5 v6 Release labeler.yml
actions/setup-go main, v5 v6 Release bazel.yml, engdoc.yml, go.yml, golangci-lint.yml, python.yml
actions/setup-java v4 v5 Release bazel.yml
actions/setup-node v4 v6 Release publish_python_handlebarrz_package.yml, release.yml, test.yml
actions/setup-python v5 v6 Release publish_python_dotpromptz_package.yml, publish_python_handlebarrz_package.yml
actions/upload-artifact v4 v6 Release publish_python_dotpromptz_package.yml, publish_python_handlebarrz_package.yml

Context

Per GitHub's announcement, Node 20 is being deprecated and runners will begin using Node 24 by default starting March 4th, 2026.

Why this matters

  • Node 20 EOL: April 2026
  • Node 24 default: March 4th, 2026
  • Action: Update to latest action versions that support Node 24

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.

@yesudeep yesudeep self-requested a review December 21, 2025 00:55
@yesudeep yesudeep changed the title Upgrade GitHub Actions for Node 24 compatibility Dec 21, 2025
@yesudeep yesudeep enabled auto-merge (squash) December 21, 2025 00:57
@yesudeep yesudeep merged commit 0066358 into google:main Dec 21, 2025
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2 participants