From 2302dd520cda13b4f7dff5b360035a949c3482df Mon Sep 17 00:00:00 2001 From: Eliott Bouhana Date: Thu, 11 Jul 2024 10:53:22 +0200 Subject: [PATCH] [golang] Upgrade go version 1.20 -> 1.21 Signed-off-by: Eliott Bouhana --- utils/_context/_scenarios/parametric.py | 4 ++-- utils/build/docker/golang/app/go.mod | 2 +- utils/build/docker/golang/go.work | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/utils/_context/_scenarios/parametric.py b/utils/_context/_scenarios/parametric.py index 019080751c..a5a5890abf 100644 --- a/utils/_context/_scenarios/parametric.py +++ b/utils/_context/_scenarios/parametric.py @@ -271,9 +271,9 @@ def golang_library_factory(): lang="golang", protocol="grpc", container_name="go-test-library", - container_tag="go118-test-library", + container_tag="go122-test-library", container_img=f""" -FROM golang:1.20 +FROM golang:1.22 # install jq RUN apt-get update && apt-get -y install jq diff --git a/utils/build/docker/golang/app/go.mod b/utils/build/docker/golang/app/go.mod index 5fce4e2840..d0741cd85a 100644 --- a/utils/build/docker/golang/app/go.mod +++ b/utils/build/docker/golang/app/go.mod @@ -1,6 +1,6 @@ module weblog -go 1.20 +go 1.21 require ( github.com/99designs/gqlgen v0.17.36 diff --git a/utils/build/docker/golang/go.work b/utils/build/docker/golang/go.work index 2611276102..557b7019b8 100644 --- a/utils/build/docker/golang/go.work +++ b/utils/build/docker/golang/go.work @@ -1,4 +1,4 @@ -go 1.20 +go 1.21 use ( ./app