Skip to content

ci: bump GitHub Actions to their latest versions - #752

Merged
oliverlaz merged 1 commit into
masterfrom
ci/bump-github-actions
Nov 26, 2026
Merged

oliverlaz merged 1 commit into
masterfrom
ci/bump-github-actions

Conversation

@oliverlaz

Copy link
Copy Markdown
Member

🎯 Goal

Our workflows still use actions/checkout@v2, actions/cache@v4 and actions/setup-node@v1, which run on deprecated Node.js runtimes (GitHub forces them onto Node 24 and logs a deprecation warning on every run). This moves them to their latest major versions. The same change is on the v7 maintenance branch in #751.

πŸ›  Implementation details

In workflow.yml and release.yml:

Action Old New
actions/checkout @v2 @v7
actions/cache @v4 @v6
actions/setup-node @v1 @v7

Relevant changes in between, none of which need workflow edits here:

  • All three run on Node 24 and need runner 2.327.1 or newer.
  • checkout v6+ stores persisted git credentials in a separate file.
  • setup-node v5+ turns on built-in npm caching only when package.json has a packageManager field; this repo has none, so the existing actions/cache step keeps doing the caching. v7 no longer exports a placeholder NODE_AUTH_TOKEN, which only matters with registry-url (not used; releases use trusted publishing).

πŸ§ͺ Testing

  • This PR's own CI run covers workflow.yml.
  • release.yml only runs on a manual dispatch, so the next release (start with a dry run) is its first run on the new versions.

@oliverlaz
oliverlaz requested a review from szuperaz November 26, 2026 08:54
@oliverlaz
oliverlaz merged commit b8076e5 into master Nov 26, 2026
4 checks passed
@oliverlaz
oliverlaz deleted the ci/bump-github-actions branch November 26, 2026 08:56
@github-actions

Copy link
Copy Markdown

πŸŽ‰ This PR is included in version 8.0.1 πŸŽ‰

The release is available on:

Your semantic-release bot πŸ“¦πŸš€

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant