From 307e30772b130e97e07b4341b6c10fa7f9f9fcaa Mon Sep 17 00:00:00 2001 From: Chun-Hung Tseng Date: Wed, 14 Aug 2024 23:57:06 +0200 Subject: [PATCH] Bump go toolchain to 1.22.6 Reference: - https://github.com/etcd-io/etcd/issues/18443 Signed-off-by: Chun-Hung Tseng --- .go-version | 2 +- functional/scripts/docker-local-agent.sh | 2 +- functional/scripts/docker-local-tester.sh | 2 +- go.mod | 4 ++-- tools/mod/go.mod | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.go-version b/.go-version index 0c5bf37cae7..013173af5e9 100644 --- a/.go-version +++ b/.go-version @@ -1 +1 @@ -1.21.13 +1.22.6 diff --git a/functional/scripts/docker-local-agent.sh b/functional/scripts/docker-local-agent.sh index dbcded83bf5..729083684b3 100755 --- a/functional/scripts/docker-local-agent.sh +++ b/functional/scripts/docker-local-agent.sh @@ -13,7 +13,7 @@ if ! [[ "${0}" =~ "scripts/docker-local-agent.sh" ]]; then fi if [[ -z "${GO_VERSION}" ]]; then - GO_VERSION=1.21.13 + GO_VERSION=1.22.6 fi echo "Running with GO_VERSION:" ${GO_VERSION} diff --git a/functional/scripts/docker-local-tester.sh b/functional/scripts/docker-local-tester.sh index cf3889da5ac..cfba9c65a19 100755 --- a/functional/scripts/docker-local-tester.sh +++ b/functional/scripts/docker-local-tester.sh @@ -6,7 +6,7 @@ if ! [[ "${0}" =~ "scripts/docker-local-tester.sh" ]]; then fi if [[ -z "${GO_VERSION}" ]]; then - GO_VERSION=1.21.13 + GO_VERSION=1.22.6 fi echo "Running with GO_VERSION:" ${GO_VERSION} diff --git a/go.mod b/go.mod index b1e7643a67b..f061818745b 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,8 @@ module go.etcd.io/etcd -go 1.21 +go 1.22 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/bgentry/speakeasy v0.1.0 diff --git a/tools/mod/go.mod b/tools/mod/go.mod index d8b7c0cfead..0a94f5f1a1c 100644 --- a/tools/mod/go.mod +++ b/tools/mod/go.mod @@ -1,8 +1,8 @@ module go.etcd.io/etcd/tools/v3 -go 1.21 +go 1.22 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/gogo/protobuf v1.3.2