renovate: install Go so go.sum is updated with go.mod #7
Loading…
Reference in a new issue
No description provided.
Delete branch "james/renovate-setup-go"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Renovate's Go dependency PRs fail to build: each bumps
go.mod, butgo.sumis never updated. Renovate's own comment on the PRs shows why:The shared Renovate job only sets up Node, and Renovate needs the
gobinary to refreshgo.sum. In balam, #26 (chi) and #37 (oauth2) failgo vetwith "missing go.sum entry", and #35/#36 have the same stalego.sum.Change
Adds
actions/setup-go(pinned to the v5.6.0 commit) withgo-version: stablebefore the Renovate step.go.modare unaffected.GOTOOLCHAIN=auto, Go downloads whatever toolchain a repo'sgo.modrequires.After merging
Callers pin this workflow by SHA, so each repo needs its pin bumped (balam follow-up PR coming). Then tick the rebase/retry box on the broken Renovate PRs so Renovate regenerates them with a correct
go.sum.