ci: upgrade actions/setup-go v6 -> v7 via ratchet - #12
Merged
Conversation
Co-authored-by: Nick Pellegrino <nickpell@users.noreply.github.com>
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.
Summary
Weekly GitHub Actions ratchet review. The routine within-major bump (
mise run //:ratchet:update) produced no diff this cycle — every pinned action is already at the newest release within its constrained major (checkout v7.0.1, mise-action v4.2.4, configure-aws-credentials v6.2.3, amazon-ecr-login v2.1.6, metadata-action v6.2.0, setup-qemu/buildx v4.2.0, build-push v7.3.0, upload-artifact v7.0.1, create-github-app-token v3.2.0).The only actual update available is a new major for
actions/setup-go(v6 → v7), so this PR performs that scoped upgrade (onlydocker.ymluses setup-go).What changes
actions/setup-go.github/workflows/docker.yml924ae3a(# ratchet:...@v6)b7ad1da(# ratchet:...@v7)No other refs changed. The
ratchet:upgradewas scoped todocker.ymlso the other pins there (already at their newest major) were left untouched.Risk assessment (based on changelog)
Overall risk: Low.
actions/setup-gov7.0.0 release notes — two changes:@actions/cacheto 6.2.0 (#771) — dependency update to the Go module caching backend.Key findings:
action.ymlruns.usingisnode24on both v6 and v7. The usual major-bump breaking risk (a node20 → node24 runtime jump) does not apply here.go-version: "1.26.0"input we use is unaffected; no inputs were removed or renamed.docker.ymlbuild job; a regression would surface immediately as a failed Go build in that workflow and would not push anything (push is gated onmain).Residual risk: the
@actions/cachebump could theoretically alter cache hit/restore behavior, but a cache miss only slows a build, it doesn't break correctness.Verification checklist
mise run //:ratchet:update→ no diff (confirms all within-major pins current)mise run //:ratchet:upgrade .github/workflows/docker.yml→ single-line change, setup-go onlyb7ad1dad31e06c5925ef5d2fc7ad053ef454303eindependently resolved fromactions/setup-gotagv7.0.0action.ymlruns.usingon v6 vs v7 → bothnode24(no runtime change)mise run //:ratchet:lint→ passesmise run //:ratchet:pin→ idempotent (no additional diff → CI "Verify pinning leaves no diff" will pass)test,lint,Ratchet Lint). Post-merge onmain(d51f3a39):Gosuccess,Ratchetsuccess,Docker Buildsuccess(run 31388778776).docker.ymlrun (enclavejob, head_shad51f3a39): step 3Run actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e→success, and step 6go build bin/tee-arbiter-enclave→success. Reviewer also independently re-resolved the pin:actions/setup-gotagv7→ commitb7ad1dad31e06c5925ef5d2fc7ad053ef454303e, an exact match.