Skip to content

Commit 1ec431d

Browse files
committed
Only ensure Go minor version
Signed-off-by: Stefan Büringer [email protected]
1 parent 2188e96 commit 1ec431d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

hack/ensure-go.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ set -o nounset
1919
set -o pipefail
2020

2121
# MIN_GO_VERSION is the minimum, supported Go version.
22-
MIN_GO_VERSION="go${MIN_GO_VERSION:-1.20.8}"
22+
# Note: Enforce only the minor version as we can't guarantee that
23+
# the images we use in ProwJobs already use the latest patch version.
24+
MIN_GO_VERSION="go${MIN_GO_VERSION:-1.20}"
2325

2426
# Ensure the go tool exists and is a viable version.
2527
verify_go_version() {

0 commit comments

Comments
 (0)