From 4e9a1b49c0bd79d98585bfdda6c1af24ecbd17fe Mon Sep 17 00:00:00 2001 From: Michael Zalimeni Date: Wed, 19 Jul 2023 11:38:10 -0400 Subject: [PATCH] Update Go version to 1.20.6 This resolves [CVE-2023-29406] (https://nvd.nist.gov/vuln/detail/CVE-2023-29406) for uses of the `net/http` standard library. Note that until the follow-up to #18124 is done, the version of Go used in those impacted tests will need to remain on 1.20.5. --- .github/workflows/build.yml | 22 +++++++++++----------- build-support/docker/Build-Go.dockerfile | 2 +- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c788a1536c25..51d1ecb965fe 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -84,15 +84,15 @@ jobs: strategy: matrix: include: - - {go: "1.20.4", goos: "linux", goarch: "386"} - - {go: "1.20.4", goos: "linux", goarch: "amd64"} - - {go: "1.20.4", goos: "linux", goarch: "arm"} - - {go: "1.20.4", goos: "linux", goarch: "arm64"} - - {go: "1.20.4", goos: "freebsd", goarch: "386"} - - {go: "1.20.4", goos: "freebsd", goarch: "amd64"} - - {go: "1.20.4", goos: "windows", goarch: "386"} - - {go: "1.20.4", goos: "windows", goarch: "amd64"} - - {go: "1.20.4", goos: "solaris", goarch: "amd64"} + - {go: "1.20.6", goos: "linux", goarch: "386"} + - {go: "1.20.6", goos: "linux", goarch: "amd64"} + - {go: "1.20.6", goos: "linux", goarch: "arm"} + - {go: "1.20.6", goos: "linux", goarch: "arm64"} + - {go: "1.20.6", goos: "freebsd", goarch: "386"} + - {go: "1.20.6", goos: "freebsd", goarch: "amd64"} + - {go: "1.20.6", goos: "windows", goarch: "386"} + - {go: "1.20.6", goos: "windows", goarch: "amd64"} + - {go: "1.20.6", goos: "solaris", goarch: "amd64"} fail-fast: true name: Go ${{ matrix.go }} ${{ matrix.goos }} ${{ matrix.goarch }} build @@ -181,7 +181,7 @@ jobs: strategy: matrix: include: - - {go: "1.20.4", goos: "linux", goarch: "s390x"} + - {go: "1.20.6", goos: "linux", goarch: "s390x"} fail-fast: true name: Go ${{ matrix.go }} ${{ matrix.goos }} ${{ matrix.goarch }} build @@ -232,7 +232,7 @@ jobs: matrix: goos: [ darwin ] goarch: [ "amd64", "arm64" ] - go: [ "1.20.4" ] + go: [ "1.20.6" ] fail-fast: true name: Go ${{ matrix.go }} ${{ matrix.goos }} ${{ matrix.goarch }} build diff --git a/build-support/docker/Build-Go.dockerfile b/build-support/docker/Build-Go.dockerfile index 8ab8e8cb9a99..5f0732cf252e 100644 --- a/build-support/docker/Build-Go.dockerfile +++ b/build-support/docker/Build-Go.dockerfile @@ -1,7 +1,7 @@ # Copyright (c) HashiCorp, Inc. # SPDX-License-Identifier: MPL-2.0 -ARG GOLANG_VERSION=1.20.4 +ARG GOLANG_VERSION=1.20.6 FROM golang:${GOLANG_VERSION} WORKDIR /consul