Skip to content

Conversation

@salmanmkc
Copy link

Summary

Updates actions/checkout and actions/setup-python from v4 to v6 to prepare for the upcoming Node 20 deprecation on GitHub Actions runners.

Context

I noticed that the recent release (merged in PR #235) pinned the GitHub Actions to v4 with SHA hashes. However, Node 20 is being deprecated on GitHub Actions:

  • Node 20 EOL: April 2026
  • Default migration to Node 24: March 4th, 2026
  • GitHub recommends updating actions to their latest versions that support Node 24

Changes

Action Previous Version New Version
actions/checkout v4 (08eba0b27e820071cde6df949e0beb9ba4906955) v6 (8e8c483db84b4bee98b60c0593521ed34d9990e8)
actions/setup-python v4 (7f4fc3e22c37d6ff65e88745f38bd3157c663f7c) v6 (83679a892e2d95755f2dac6acb0bfd1e9ac5d548)

Why Node 24?

I would highly encourage moving to Node 24. According to the GitHub blog post:

Node20 will reach end-of-life (EOL) in April of 2026. As a result we have started the deprecation process of Node20 for GitHub Actions. We plan to migrate all actions to run on Node24 in the fall of 2025.

Beginning on March 4th, 2026, runners will begin using Node 24 by default. Updating to v6 of these actions ensures compatibility with Node 24 and avoids any potential issues when the deprecation takes effect.

Reference

Update actions/checkout and actions/setup-python from v4 to v6 to prepare
for the upcoming Node 20 deprecation on GitHub Actions runners.

Node 20 will reach EOL in April 2026, and GitHub Actions will migrate to
Node 24 by default starting March 4th, 2026.

Reference: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
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