From 97c059ad98aed9e75ce5971e586fb1ee08302cac Mon Sep 17 00:00:00 2001 From: James Rasell Date: Wed, 3 Dec 2025 07:36:10 +0000 Subject: [PATCH 1/2] build: update toolchain to Go 1.25.5 --- .go-version | 2 +- contributing/README.md | 2 +- scripts/linux-priv-go.sh | 4 ++-- scripts/release/mac-remote-build | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.go-version b/.go-version index 5bb76b575e1..b45fe310644 100644 --- a/.go-version +++ b/.go-version @@ -1 +1 @@ -1.25.3 +1.25.5 diff --git a/contributing/README.md b/contributing/README.md index c0d57a004ba..c204ce525b7 100644 --- a/contributing/README.md +++ b/contributing/README.md @@ -52,7 +52,7 @@ A development environment is supplied via Vagrant to make getting started easier Developing without Vagrant --- -1. Install [Go 1.25.3+](https://golang.org/) *(Note: `gcc-go` is not supported)* +1. Install [Go 1.25.5+](https://golang.org/) *(Note: `gcc-go` is not supported)* 1. Clone this repo ```sh $ git clone https://github.com/hashicorp/nomad.git diff --git a/scripts/linux-priv-go.sh b/scripts/linux-priv-go.sh index 187fbff7fe4..b41a48e53ad 100755 --- a/scripts/linux-priv-go.sh +++ b/scripts/linux-priv-go.sh @@ -15,13 +15,13 @@ esac # Minimal effort to support amd64 and arm64 installs. ARCH="" -case $(arch) in +case $(arch) in x86_64) ARCH="amd64" ;; aarch64) ARCH="arm64" ;; esac function install_go() { - local go_version="1.25.3" + local go_version="1.25.5" local download="https://storage.googleapis.com/golang/go${go_version}.linux-${ARCH}.tar.gz" if go version 2>&1 | grep -q "${go_version}"; then diff --git a/scripts/release/mac-remote-build b/scripts/release/mac-remote-build index ed7587bbdc3..8c5d02f3903 100755 --- a/scripts/release/mac-remote-build +++ b/scripts/release/mac-remote-build @@ -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.25.3" + local go_version="1.25.5" local download= download="https://storage.googleapis.com/golang/go${go_version}.darwin-amd64.tar.gz" From a8c1cc6944b8506ba743fae27dc1225915bc232c Mon Sep 17 00:00:00 2001 From: James Rasell Date: Wed, 3 Dec 2025 07:53:56 +0000 Subject: [PATCH 2/2] changelog: Add entry for 27186 --- .changelog/27186.txt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .changelog/27186.txt diff --git a/.changelog/27186.txt b/.changelog/27186.txt new file mode 100644 index 00000000000..b61da4f40d5 --- /dev/null +++ b/.changelog/27186.txt @@ -0,0 +1,3 @@ +```release-note:security +build: Updated toolchain to Go 1.25.5 +```