From d5b6d9048348550eb95d0a64e359f73aaba52745 Mon Sep 17 00:00:00 2001 From: Tom Wieczorek Date: Fri, 17 Jan 2025 11:44:12 +0100 Subject: [PATCH] Use full patch version for go directives in go.mod It turns out that since Go 1.21, in which Go started using fully qualified versions and not omitting zeros (i.e. "1.21.0" instead of just "1.21"), just stating the minor version without the patch version is actually considered a development version of Go. Who would have thought? The correct way to use the Go directive is to set it to "go 1.23.0". Signed-off-by: Tom Wieczorek --- go.mod | 2 +- hack/tool/go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index 67268e0fc7da..8dd4409523d3 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/k0sproject/k0s -go 1.23 +go 1.23.0 // k0s require ( diff --git a/hack/tool/go.mod b/hack/tool/go.mod index a6782fe9de74..90539938f4d1 100644 --- a/hack/tool/go.mod +++ b/hack/tool/go.mod @@ -1,6 +1,6 @@ module tool -go 1.23 +go 1.23.0 require ( github.com/hashicorp/terraform-exec v0.21.0