ci: bump actions to node24 runtimes (drop deprecated node20)#65
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
GitHub is deprecating the node20 action runtime and forcing node24 by 2026-06-16. Our
goreleaser+docker-publish(and other) workflow runs already emit the node20 deprecation warning. This bumps every affected action to the latest stable major that ships a node24 runtime.Verified each action's
action.ymlusing:declaration at the pinned ref (old = node20, new = node24).Actions bumped (old → new)
Tag-pinned
actions/checkoutactions/setup-goactions/cachegithub/codeql-action/*(init, start-proxy, resolve-environment, autobuild, analyze)golangci/golangci-lint-actiondocker/setup-buildx-action(e2e.yml)SHA-pinned (docker-publish.yml + goreleaser.yml)
sigstore/cosign-installerdocker/setup-buildx-actiondocker/login-actiondocker/metadata-actiondocker/build-push-actionreproducible-containers/buildkit-cache-dancegoreleaser/goreleaser-action# v7.2.2comment)Notes
buildkit-cache-dancev3: thecache-sourceinput is deprecated in v3 (replaced bycache-map). Migrated to the equivalentcache-mapJSON ({"go-build-cache": "/root/.cache/go-build"}) — identical cache behavior, avoids a new deprecation warning.docker/build-push-actionv7 /metadata-actionv6: major bumps are node24 + ESM internals; the only removed surface (DOCKER_BUILD_NO_SUMMARYetc.) and#-comment handling in list inputs are not used here. No config change needed.golangci-lint-actionv9: pure node24 runtime bump + additive features;version: v2.11input unchanged.actions/attest-build-provenance@v2andsigstore/cosign-installerareusing: composite(no node runtime) — no node20 concern.All workflow YAML validated with
yaml.safe_load. Only action versions changed; no triggers/jobs/steps logic touched.