Skip to content

ci: update GitHub Actions to latest major versions - #33

Merged
bashar-qassis merged 1 commit into
mainfrom
ci/update-action-versions
Aug 19, 2026
Merged

bashar-qassis merged 1 commit into
mainfrom
ci/update-action-versions

Conversation

@bashar-qassis

Copy link
Copy Markdown
Member

Several actions in the CI workflows were multiple majors behind. This bumps them all to the current latest major.

Action Before After Latest release
actions/checkout v4 v7 v7.0.1
actions/cache v4 v6 v6.1.0
docker/login-action v3 v4 v4.6.0
docker/setup-buildx-action v3 v4 v4.3.0
docker/build-push-action v6 v7 v7.3.0
erlef/setup-beam v1 v1 (unchanged) v1.24.1

Files touched: .github/workflows/ci.yml, .github/workflows/dev-build.yml.

Compatibility

Every one of these majors is fundamentally a Node 24 runtime bump, requiring Actions Runner 2.327.1+. All jobs run on ubuntu-latest, which is well past that, so no runner action is needed.

Beyond the runtime bump, the only other breaking changes are removals of deprecated inputs/outputs:

  • docker/setup-buildx-action@v4 — removed deprecated inputs/outputs. This repo passes none.
  • docker/build-push-action@v7 — removed DOCKER_BUILD_NO_SUMMARY / DOCKER_BUILD_EXPORT_RETENTION_DAYS envs and legacy build-summary export. Neither is used; the only inputs here are context, push, tags, platforms, cache-from, cache-to, load, all still supported.
  • actions/checkout@v6 — persists git credentials to a separate file. The publish job's git push origin of the version tag still relies on persisted creds, which continue to work.

Out of scope

Deliberately left alone, since these are toolchain upgrades rather than runner updates and would need their own validation:

  • ELIXIR_VERSION 1.18.4 / OTP_VERSION 27 — these intentionally mirror the Dockerfile build args, so bumping CI alone would drift from prod.
  • postgres:15-alpine service image.

Verification

Both workflow files parse as valid YAML. Real validation is CI itself running green on this PR.

Several actions were multiple majors behind. Bumps:

- actions/checkout        v4 -> v7
- actions/cache           v4 -> v6
- docker/login-action     v3 -> v4
- docker/setup-buildx-action v3 -> v4
- docker/build-push-action   v6 -> v7

erlef/setup-beam stays on v1 (still the current major).

All of these majors are Node 24 runtime bumps requiring Actions Runner
2.327.1+, which ubuntu-latest satisfies. The docker action majors also
dropped deprecated inputs, none of which are used here.
@bashar-qassis
bashar-qassis merged commit 145b6bf into main Aug 19, 2026
4 checks passed
@bashar-qassis
bashar-qassis deleted the ci/update-action-versions branch August 19, 2026 22:12
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