From 00b6e3528f096845f23ce5949a9a0b60e367a7f7 Mon Sep 17 00:00:00 2001 From: Sean Malloy Date: Tue, 3 Dec 2024 16:10:49 -0600 Subject: [PATCH] Bump to Go 1.23.3 The k/k repo was bumped to Go 1.23.3. See below PR for reference. https://github.com/kubernetes/kubernetes/pull/128852 --- Dockerfile | 2 +- docs/contributor-guide.md | 2 +- go.mod | 2 +- hack/lib/go.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9e2b23539..d97129592 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -FROM golang:1.22.7 +FROM golang:1.23.3 WORKDIR /go/src/sigs.k8s.io/descheduler COPY . . diff --git a/docs/contributor-guide.md b/docs/contributor-guide.md index 08f9f84da..e8de05663 100644 --- a/docs/contributor-guide.md +++ b/docs/contributor-guide.md @@ -3,7 +3,7 @@ ## Required Tools - [Git](https://git-scm.com/downloads) -- [Go 1.16+](https://golang.org/dl/) +- [Go 1.23+](https://golang.org/dl/) - [Docker](https://docs.docker.com/install/) - [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl) - [kind v0.10.0+](https://kind.sigs.k8s.io/) diff --git a/go.mod b/go.mod index e661461be..3400c4842 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module sigs.k8s.io/descheduler -go 1.22.5 +go 1.23.3 require ( github.com/client9/misspell v0.3.4 diff --git a/hack/lib/go.sh b/hack/lib/go.sh index cdf6068e9..b5a471490 100644 --- a/hack/lib/go.sh +++ b/hack/lib/go.sh @@ -19,7 +19,7 @@ go::verify_version() { GO_VERSION=($(go version)) - if [[ -z $(echo "${GO_VERSION[2]}" | grep -E 'go1.20|go1.21|go1.22') ]]; then + if [[ -z $(echo "${GO_VERSION[2]}" | grep -E 'go1.21|go1.22|go1.23') ]]; then echo "Unknown go version '${GO_VERSION[2]}', skipping gofmt." exit 1 fi