From b5bb2805691885c70cfb0de533ff8f60b984085a Mon Sep 17 00:00:00 2001 From: Lujie Duan Date: Thu, 17 Oct 2024 16:04:36 +0000 Subject: [PATCH 1/2] Upgrade go to 1.21.11 --- go.mod | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index 5087d9a20..7c4675749 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/GoogleCloudPlatform/opentelemetry-operations-collector -go 1.21.0 +go 1.21.11 require ( github.com/NVIDIA/go-dcgm v0.0.0-20240409130410-eeff1ddeec19 @@ -356,7 +356,7 @@ require ( golang.org/x/mod v0.17.0 // indirect golang.org/x/net v0.26.0 // indirect golang.org/x/oauth2 v0.20.0 // indirect - golang.org/x/sync v0.7.0 // indirect + golang.org/x/sync v0.7.0 golang.org/x/term v0.21.0 // indirect golang.org/x/time v0.5.0 // indirect golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect From ba8b1414936f359d7893e0c0d559a0b79bd7fadb Mon Sep 17 00:00:00 2001 From: Lujie Duan Date: Thu, 17 Oct 2024 16:17:04 +0000 Subject: [PATCH 2/2] Upgrade go in the presubmit images to 1.21.11 --- .build/Dockerfile | 2 +- .github/workflows/presubmit.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.build/Dockerfile b/.build/Dockerfile index 7e9d094b5..2b14bb6a0 100644 --- a/.build/Dockerfile +++ b/.build/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.21.6-bullseye +FROM golang:1.21.11-bullseye RUN apt-get update && apt-get install gettext-base diff --git a/.github/workflows/presubmit.yml b/.github/workflows/presubmit.yml index 081397a33..a97c45cad 100644 --- a/.github/workflows/presubmit.yml +++ b/.github/workflows/presubmit.yml @@ -6,7 +6,7 @@ on: - master env: # Default minimum version of Go to support. - DEFAULT_GO_VERSION: 1.21.10 + DEFAULT_GO_VERSION: 1.21.11 jobs: build: strategy: