build: update from go1.20.1 to go1.20.2 (#16427)

* build: update from go1.20.1 to go1.20.2

Note that the CVE fixed in go1.20.2 does *not* impact Nomad.

https://github.com/golang/go/issues/58647
This commit is contained in:
Michael Schurter
2023-03-13 09:47:07 -07:00
committed by GitHub
parent 5febe9bd9b
commit 5f37b2fba0
6 changed files with 11 additions and 8 deletions

View File

@@ -56,7 +56,7 @@ REPO_PATH="${TMP_WORKSPACE}/gopath/src/github.com/hashicorp/nomad"
mkdir -p "${TMP_WORKSPACE}/tmp"
install_go() {
local go_version="1.20.1"
local go_version="1.20.2"
local download=
download="https://storage.googleapis.com/golang/go${go_version}.darwin-amd64.tar.gz"

View File

@@ -3,7 +3,7 @@
set -o errexit
function install_go() {
local go_version="1.20.1"
local go_version="1.20.2"
local download="https://storage.googleapis.com/golang/go${go_version}.linux-amd64.tar.gz"
if go version 2>&1 | grep -q "${go_version}"; then