build: Update Go to v1.24.0 (#25623)

* build: Update Go to v1.24.0

Fixes Go CVE https://pkg.go.dev/vuln/GO-2025-3563
This commit is contained in:
Michael Schurter
2025-04-08 16:07:47 -07:00
committed by GitHub
parent 311a83d706
commit 95c914624e
5 changed files with 7 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ case $(arch) in
esac
function install_go() {
local go_version="1.24.1"
local go_version="1.24.2"
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.24.1"
local go_version="1.24.2"
local download=
download="https://storage.googleapis.com/golang/go${go_version}.darwin-amd64.tar.gz"