Skip to content

Chore: Bump GitHub Actions off deprecated Node 20 - #20

Open
ekmungai wants to merge 1 commit into
mainfrom
chore/bump-github-actions
Open

ekmungai wants to merge 1 commit into
mainfrom
chore/bump-github-actions

Conversation

@ekmungai

Copy link
Copy Markdown
Owner

GitHub now forces actions built for Node 20 onto Node 24 and warns on every run. This bumps each action to its current major, clearing the warning and putting them on a supported runtime.

actions/checkout v3 and v4 → v7, and actions/setup-python v3 and v4 → v7 (v3/v4 run on Node 16), across publish.yml, python-package.yml and test.yml.

Compatibility

  • Every runner here is ubuntu-latest, well past the v2.327.1 minimum that the Node 24 action releases require.
  • No workflow in this repo uses pull_request_target or workflow_run, which is the only behaviour change in checkout v7 (it now blocks checking out fork PRs on those triggers).

Reference

Action Was Now v4/older runtime
actions/checkout v3 / v4 v7 node20 (v3: node16)
actions/setup-dotnet v4 v6 node20
actions/setup-python v3 / v4 v7 node16
actions/cache v4 v6 node20
actions/configure-pages v5 v6 node20
actions/deploy-pages v4 v5 node20
actions/upload-pages-artifact v3 v5 composite

Actions already on their latest major are untouched: NuGet/login@v1, peaceiris/actions-hugo@v3, appleboy/ssh-action@v1 and shivammathur/setup-php@v2 all resolve to Node 24 or are composite/Docker actions.

🤖 Generated with Claude Code

GitHub now forces actions built for Node 20 onto Node 24, and warns on
every run. Bumping each action to its current major clears the warning
and puts them on a runtime that is actually supported.

All runners here are ubuntu-latest, well past the v2.327.1 minimum the
Node 24 releases require, and no workflow uses pull_request_target or
workflow_run, which is the one behaviour change in checkout v7.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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