diff --git a/.go-version b/.go-version index ae7bbdf04..2a0ba77cc 100644 --- a/.go-version +++ b/.go-version @@ -1 +1 @@ -1.21.10 +1.22.4 diff --git a/README.md b/README.md index f4dd939c2..81530c3c3 100644 --- a/README.md +++ b/README.md @@ -98,7 +98,7 @@ This guide will cover: - Propagate an application by using `karmada`. ### Prerequisites -- [Go](https://golang.org/) version v1.21+ +- [Go](https://golang.org/) version v1.22.4+ - [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/) version v1.19+ - [kind](https://kind.sigs.k8s.io/) version v0.14.0+ diff --git a/go.mod b/go.mod index 2ad33c8eb..afc0de634 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/karmada-io/karmada -go 1.21.10 +go 1.22.4 // keep in sync with .go-version, Readme.md#Prerequisites, hack/util.sh require ( github.com/adhocore/gronx v1.6.3 diff --git a/hack/util.sh b/hack/util.sh index bbaa0b564..3f60ceef5 100755 --- a/hack/util.sh +++ b/hack/util.sh @@ -37,7 +37,7 @@ KARMADA_METRICS_ADAPTER_LABEL="karmada-metrics-adapter" KARMADA_GO_PACKAGE="github.com/karmada-io/karmada" -MIN_Go_VERSION=go1.21.0 +MIN_Go_VERSION=go1.22.4 DEFAULT_CLUSTER_VERSION="kindest/node:v1.27.3"