Skip to content

Commit

Permalink
renovate: switch to get Go version from toolchain directive
Browse files Browse the repository at this point in the history
Since we now use the toolchain as the version we should use because of #2425,
renovate need to pick up the toolchain version for its Go install fix.

Signed-off-by: Mahe Tardy <[email protected]>
  • Loading branch information
mtardy committed May 31, 2024
1 parent d42d8bb commit bee5a74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"^make vendor$",
"^make -C install/kubernetes$",
"^go mod vendor$",
"^install-tool golang \\$\\(grep -oP '\\^go \\\\K\\.\\+' go\\.mod\\)$"
"^install-tool golang \\$\\(grep -oP '\\^toolchain go\\\\K\\.\\+' go\\.mod\\)$"
],
// repository configuration
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
Expand Down Expand Up @@ -222,7 +222,7 @@
// We need to trigger a golang install manually here because in some
// cases it might not be preinstalled, see:
// https://github.com/renovatebot/renovate/discussions/23485
"commands": ["install-tool golang $(grep -oP '^go \\K.+' go.mod)", "make vendor"],
"commands": ["install-tool golang $(grep -oP '^toolchain go\\K.+' go.mod)", "make vendor"],
"fileFilters": ["**/**"],
"executionMode": "branch"
},
Expand Down

0 comments on commit bee5a74

Please sign in to comment.