From 0ea4f7c79eb050070dcb3af9c5bb3f32e5814f5b Mon Sep 17 00:00:00 2001 From: Brandon Palm Date: Thu, 9 May 2024 11:50:40 -0500 Subject: [PATCH] Update Go to v1.22.3 (#428) --- .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 dfb9a16f..c1d12152 100644 --- a/.github/workflows/pre-main.yml +++ b/.github/workflows/pre-main.yml @@ -83,7 +83,7 @@ jobs: - name: Set up Go 1.22 uses: actions/setup-go@v5 with: - go-version: 1.22.2 + go-version: 1.22.3 - 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 8fe5460c..5999e881 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.2 + go-version: 1.22.3 - 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.2 + go-version: 1.22.3 - name: Disable default go problem matcher run: echo "::remove-matcher owner=go::" diff --git a/test-partner/Dockerfile b/test-partner/Dockerfile index 1b3cb66d..a5e54426 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.2.linux-amd64.tar.gz -ENV GO_BIN_URL_aarch64=${GO_DL_URL}/go1.22.2.linux-arm64.tar.gz +ENV GO_BIN_URL_x86_64=${GO_DL_URL}/go1.22.3.linux-amd64.tar.gz +ENV GO_BIN_URL_aarch64=${GO_DL_URL}/go1.22.3.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.2.linux-amd64.tar.gz; \ + && tar -C /usr/local -xzf ${TEMP_DIR}/go1.22.3.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.2.linux-arm64.tar.gz; \ + && tar -C /usr/local -xzf ${TEMP_DIR}/go1.22.3.linux-arm64.tar.gz; \ else \ echo "CPU architecture is not supported." && exit 1; \ fi