Skip to content

ci: bump actions to their Node 24 majors - #30

Merged
nihaopaul merged 1 commit into
mainfrom
ci/node24-action-bumps
Aug 22, 2026
Merged

ci: bump actions to their Node 24 majors#30
nihaopaul merged 1 commit into
mainfrom
ci/node24-action-bumps

Conversation

@nihaopaul

Copy link
Copy Markdown
Owner

Why

Every action in rust.yml targeted the Node 20 runtime, which GitHub has deprecated. Both jobs in the 0.4.0 release run carried this annotation:

Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, docker/build-push-action@v5, docker/login-action@v3, docker/metadata-action@v5

They already execute on Node 24 — this makes that explicit rather than imposed, before the forced-runtime fallback goes away.

Changes

action from to
actions/checkout v4 v7
docker/login-action v3 v4
docker/metadata-action v5 v6
docker/build-push-action v5 v7

I checked each crossed major's release notes rather than bumping blind. They are Node-24 runtime changes, and none of the removed surface is used here:

  • build-push-action@v7 drops the deprecated DOCKER_BUILD_NO_SUMMARY / DOCKER_BUILD_EXPORT_RETENTION_DAYS envs and legacy build-summary support — not used.
  • metadata-action@v6 changes no tag defaults, so the published set stays 0.4.0 + latest.
  • checkout is used bare with no with: block, so v4→v7 is inert for us.

Verified all four target node24 by reading action.yml at each new tag.

What this PR does and does not verify

The build job exercises checkout@v7 directly, so that half is covered by CI here.

The four docker-job steps stay unverified until the next release, since that job is gated on github.event_name == 'release' — deliberately, per project preference for not building the image on PRs. The failure mode is safe: build-push-action pushes only after a successful build, so a problem there fails the workflow without publishing anything.

🤖 Generated with Claude Code

Every action in this workflow targeted the Node 20 runtime, which GitHub
has deprecated and is already force-running on Node 24. Move to the
current majors so the behaviour is chosen rather than imposed:

  actions/checkout          v4 -> v7
  docker/login-action       v3 -> v4
  docker/metadata-action    v5 -> v6
  docker/build-push-action  v5 -> v7

These majors are Node-24 runtime bumps; none of the removed inputs are
used here. build-push-action v7 drops the deprecated
DOCKER_BUILD_NO_SUMMARY and DOCKER_BUILD_EXPORT_RETENTION_DAYS envs plus
legacy build-summary support, and metadata-action v6 changes no tag
defaults, so the published tag set stays 0.4.0 + latest.

Note the docker job only runs on release, so these four steps stay
unverified until the next one. A failure there publishes nothing, since
build-push-action pushes only after a successful build.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@nihaopaul
nihaopaul merged commit c15745f into main Aug 22, 2026
4 checks passed
@nihaopaul
nihaopaul deleted the ci/node24-action-bumps branch August 23, 2026 05:52
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