From 71a0036e3ba1a21319cb46803327baf273b598bd Mon Sep 17 00:00:00 2001 From: Brandon Palm Date: Tue, 20 Aug 2024 13:13:13 -0500 Subject: [PATCH] Update Go to v1.22.6 (#483) Co-authored-by: David Rabkin --- .github/workflows/pre-main.yml | 2 +- .github/workflows/preflight.yml | 4 ++-- test-partner/Dockerfile | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pre-main.yml b/.github/workflows/pre-main.yml index a6b5532b..e5dd5ac7 100644 --- a/.github/workflows/pre-main.yml +++ b/.github/workflows/pre-main.yml @@ -82,7 +82,7 @@ jobs: - name: Set up Go 1.22 uses: actions/setup-go@v5 with: - go-version: 1.22.5 + go-version: 1.22.6 - name: Disable default go problem matcher run: echo "::remove-matcher owner=go::" diff --git a/.github/workflows/preflight.yml b/.github/workflows/preflight.yml index 4db65cc1..7e369fea 100644 --- a/.github/workflows/preflight.yml +++ b/.github/workflows/preflight.yml @@ -20,7 +20,7 @@ jobs: - name: Set up Go 1.22 uses: actions/setup-go@v5 with: - go-version: 1.22.5 + go-version: 1.22.6 - name: Disable default go problem matcher run: echo "::remove-matcher owner=go::" @@ -61,7 +61,7 @@ jobs: - name: Set up Go 1.22 uses: actions/setup-go@v5 with: - go-version: 1.22.5 + go-version: 1.22.6 - name: Disable default go problem matcher run: echo "::remove-matcher owner=go::" diff --git a/test-partner/Dockerfile b/test-partner/Dockerfile index 2281b89c..35666354 100644 --- a/test-partner/Dockerfile +++ b/test-partner/Dockerfile @@ -28,8 +28,8 @@ RUN \ ENV \ GO_DL_URL=https://golang.org/dl \ GOPATH=/root/go -ENV GO_BIN_URL_x86_64=${GO_DL_URL}/go1.22.5.linux-amd64.tar.gz -ENV GO_BIN_URL_aarch64=${GO_DL_URL}/go1.22.5.linux-arm64.tar.gz +ENV GO_BIN_URL_x86_64=${GO_DL_URL}/go1.22.6.linux-amd64.tar.gz +ENV GO_BIN_URL_aarch64=${GO_DL_URL}/go1.22.6.linux-arm64.tar.gz # Determine the CPU architecture and download the appropriate Go binary # hadolint ignore=SC2086 @@ -37,11 +37,11 @@ RUN \ if [ "$(uname -m)" = x86_64 ]; then \ wget --directory-prefix=${TEMP_DIR} ${GO_BIN_URL_x86_64} --quiet \ && rm -rf /usr/local/go \ - && tar -C /usr/local -xzf ${TEMP_DIR}/go1.22.5.linux-amd64.tar.gz; \ + && tar -C /usr/local -xzf ${TEMP_DIR}/go1.22.6.linux-amd64.tar.gz; \ elif [ "$(uname -m)" = aarch64 ]; then \ wget --directory-prefix=${TEMP_DIR} ${GO_BIN_URL_aarch64} --quiet \ && rm -rf /usr/local/go \ - && tar -C /usr/local -xzf ${TEMP_DIR}/go1.22.5.linux-arm64.tar.gz; \ + && tar -C /usr/local -xzf ${TEMP_DIR}/go1.22.6.linux-arm64.tar.gz; \ else \ echo "CPU architecture is not supported." && exit 1; \ fi