diff --git a/.github/renovate.json5 b/.github/renovate.json5 index cfa60d7a..3d828dc8 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -45,6 +45,18 @@ executionMode: 'branch', } }, + { + group: null, + matchDatasources: [ + 'golang-version', + ], + separateMinorPatch: true, + postUpgradeTasks: { + commands: [ + 'make learn-golang-shas', + ], + }, + }, { groupName: 'Misc GitHub actions', matchManagers: [ diff --git a/Makefile b/Makefile index 0e0603a6..fff8e93e 100644 --- a/Makefile +++ b/Makefile @@ -89,6 +89,12 @@ learn-tools-shas: | $(NEEDS_CRANE) @CRANE=$(CRANE) \ ./scripts/learn_kind_images.sh +# Learn the shas for the vendored Go version in the go module. +# This must be run whenever the Go version is updated. +.PHONY: learn-golang-shas +learn-golang-shas: + ./scripts/learn_tools_shas.sh _bin/tools/go + .PHONY: learn-image-shas learn-image-shas: | $(NEEDS_CRANE) @CRANE=$(CRANE) \ @@ -111,6 +117,7 @@ help: ## Show this help @echo "make upgrade-base-images" @echo "make upgrade-kind-images" @echo + @echo "make learn-golang-shas" @echo "make learn-tools-shas" @echo "make learn-image-shas" @echo