Repository navigation
ci: update GitHub Actions to latest major versions - #33
Merged
Merged
Conversation
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.
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.
Several actions in the CI workflows were multiple majors behind. This bumps them all to the current latest major.
actions/checkoutactions/cachedocker/login-actiondocker/setup-buildx-actiondocker/build-push-actionerlef/setup-beamFiles 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 onubuntu-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— removedDOCKER_BUILD_NO_SUMMARY/DOCKER_BUILD_EXPORT_RETENTION_DAYSenvs and legacy build-summary export. Neither is used; the only inputs here arecontext,push,tags,platforms,cache-from,cache-to,load, all still supported.actions/checkout@v6— persists git credentials to a separate file. Thepublishjob'sgit push originof 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_VERSION1.18.4 /OTP_VERSION27 — these intentionally mirror theDockerfilebuild args, so bumping CI alone would drift from prod.postgres:15-alpineservice image.Verification
Both workflow files parse as valid YAML. Real validation is CI itself running green on this PR.