Skip to content

ci: bump GitHub Actions to Node 24-compatible majors - #16

Merged
jmelosegui merged 1 commit into
mainfrom
chore/bump-actions-to-node24
Apr 27, 2026
Merged

ci: bump GitHub Actions to Node 24-compatible majors#16
jmelosegui merged 1 commit into
mainfrom
chore/bump-actions-to-node24

Conversation

@jmelosegui

@jmelosegui jmelosegui commented Apr 27, 2026

Copy link
Copy Markdown
Owner

Summary

The v0.1.0 release run logged a Node.js 20 deprecation warning for every action that still ran on the older runtime. This bumps each affected action to the current major that ships with Node 24:

Action Old New
`actions/checkout` v4 v6
`actions/setup-go` v5 v6
`goreleaser/goreleaser-action` v6 v7
`golangci/golangci-lint-action` v8 v9

Reviewed each major's release notes -- the inputs we use (`go-version`, `version`, `distribution`, `args`) are unchanged. `actions/setup-go@v6` requires GitHub Actions runner >=2.327.1, which GitHub-hosted runners satisfy.

Intentionally left untouched

  • `snapcore/action-build@v1` -- upstream's `action.yml` on `main` still uses `node20`. No v2 published yet. Will revisit when upstream cuts a Node 24 release.
  • `vedantmgoyal2009/winget-releaser@v2` -- composite action, no Node runtime, not affected by the deprecation.

Test plan

  • CI workflow runs cleanly on this PR.
  • Lint workflow runs cleanly on this PR.
  • No "Node.js 20 actions are deprecated" annotation on any of the runs (other than from snapcore/action-build, which only fires on tag pushes).

Node.js 20 was deprecated on GitHub-hosted runners
(https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/),
so the v0.1.0 release run logged a deprecation warning for every
Node 20 action it pulled in. Bump to the current major versions that
ship with the Node 24 runtime:

  actions/checkout            v4 -> v6
  actions/setup-go            v5 -> v6
  goreleaser/goreleaser-action v6 -> v7
  golangci/golangci-lint-action v8 -> v9

Inputs are unchanged for the configurations we use. setup-go v6
requires runner v2.327.1 or newer; GitHub-hosted runners are kept
current so this is satisfied.

Two action references are intentionally left untouched:
  - snapcore/action-build@v1 still ships node20 upstream; no Node 24
    release exists yet.
  - vedantmgoyal2009/winget-releaser@v2 is a composite action and has
    no Node runtime, so the deprecation does not apply.
@jmelosegui
jmelosegui merged commit 18f3a97 into main Apr 27, 2026
6 checks passed
@jmelosegui
jmelosegui deleted the chore/bump-actions-to-node24 branch April 27, 2026 02:03
@jmelosegui
jmelosegui restored the chore/bump-actions-to-node24 branch April 27, 2026 02:04
@jmelosegui
jmelosegui deleted the chore/bump-actions-to-node24 branch April 27, 2026 02:34
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