Skip to content

Update publish workflow actions for Node 20 deprecation#6

Merged
cderv merged 1 commit into
mainfrom
update-actions-node24
May 25, 2026
Merged

Update publish workflow actions for Node 20 deprecation#6
cderv merged 1 commit into
mainfrom
update-actions-node24

Conversation

@cderv
Copy link
Copy Markdown
Member

@cderv cderv commented May 25, 2026

GitHub is deprecating Node 20 as a JavaScript actions runtime: Node 24 becomes the forced default on June 2, 2026, and Node 20 is removed on September 16, 2026 (changelog).

Bump the publish workflow to the first node24-compatible majors and pin every action by full commit SHA:

  • actions/checkout v4 → v6.0.2
  • actions/setup-python v5 → v6.2.0
  • pypa/gh-action-pypi-publish release/v1 → v1.14.0

Both checkout@v6 and setup-python@v6 declare using: node24 in action.yml. gh-action-pypi-publish@v1.14.0 is a composite action and unaffected by the runner deprecation, but pinned by SHA for consistency.

Test Plan

  • Manually dispatch with publish-release: false and confirm no Node 20 deprecation warnings on the three updated steps
  • Verify TestPyPI publish step still succeeds end-to-end

Node 20 actions are deprecated; runners force Node 24 on June 2, 2026
and remove Node 20 on September 16, 2026. Bump checkout and setup-python
to their first node24 majors, and pin all three actions by full commit
SHA for reproducible, audit-friendly references.

- actions/checkout         v4         -> v6.0.2
- actions/setup-python     v5         -> v6.2.0
- pypa/gh-action-pypi-publish release/v1 -> v1.14.0
@cderv cderv merged commit 6481be4 into main May 25, 2026
1 check passed
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