From e2bcd9dccf4f6dbcc2e40b1ac2583521fedad5af Mon Sep 17 00:00:00 2001 From: William Bezuidenhout Date: Mon, 9 Oct 2023 18:16:57 +0200 Subject: [PATCH] update go to 1.20.9 (#57483) --- .github/workflows/sg-setup.yml | 2 +- .tool-versions | 2 +- WORKSPACE | 2 +- dev/sg/checks.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/sg-setup.yml b/.github/workflows/sg-setup.yml index 4c282fb77bf..d1d268e4b76 100644 --- a/.github/workflows/sg-setup.yml +++ b/.github/workflows/sg-setup.yml @@ -24,7 +24,7 @@ jobs: - name: Install Go uses: actions/setup-go@v2 with: - go-version: 1.20.8 + go-version: 1.20.9 - name: Install asdf plugins uses: asdf-vm/actions/install@v1 diff --git a/.tool-versions b/.tool-versions index 43fe9b87080..c87b3ccebf0 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,4 +1,4 @@ -golang 1.20.8 +golang 1.20.9 nodejs 18.17.1 fd 8.6.0 shfmt 3.5.0 diff --git a/WORKSPACE b/WORKSPACE index 547b871a380..728ee1b8d78 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -314,7 +314,7 @@ go_rules_dependencies() go_register_toolchains( nogo = "@//:sg_nogo", - version = "1.20.8", + version = "1.20.9", ) linter_dependencies() diff --git a/dev/sg/checks.go b/dev/sg/checks.go index 23722d5e8b9..55fd11167e7 100644 --- a/dev/sg/checks.go +++ b/dev/sg/checks.go @@ -34,7 +34,7 @@ var checks = map[string]check.CheckFunc{ "asdf": check.CommandOutputContains("asdf", "version"), "git": check.Combine(check.InPath("git"), checkGitVersion(">= 2.34.1")), "pnpm": check.Combine(check.InPath("pnpm"), checkPnpmVersion(">= 8.3.0")), - "go": check.Combine(check.InPath("go"), checkGoVersion("~> 1.20.8")), + "go": check.Combine(check.InPath("go"), checkGoVersion("~> 1.20.9")), "node": check.Combine(check.InPath("node"), check.CommandOutputContains(`node -e "console.log(\"foobar\")"`, "foobar")), "rust": check.Combine(check.InPath("cargo"), check.CommandOutputContains(`cargo version`, "1.58.0")), "docker-installed": check.WrapErrMessage(check.InPath("docker"), "if Docker is installed and the check fails, you might need to start Docker.app and restart terminal and 'sg setup'"),