build: upgrade from go 1.20.3 to 1.20.4 (#17056)

Includes CVE fixes that do *not* impact Nomad:

https://groups.google.com/g/golang-announce/c/MEb0UyuSMsU
This commit is contained in:
Michael Schurter
2023-05-02 13:09:11 -07:00
committed by GitHub
parent d5dd0c2bcf
commit 4d9b969d81
6 changed files with 11 additions and 8 deletions

View File

@@ -21,7 +21,7 @@ case $(arch) in
esac
function install_go() {
local go_version="1.20.2"
local go_version="1.20.4"
local download="https://storage.googleapis.com/golang/go${go_version}.linux-${ARCH}.tar.gz"
if go version 2>&1 | grep -q "${go_version}"; then

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.3"
local go_version="1.20.4"
local download=
download="https://storage.googleapis.com/golang/go${go_version}.darwin-amd64.tar.gz"