From 77604a810d98c282159f700e21e28a5b48617d0b Mon Sep 17 00:00:00 2001 From: Lucas Pinheiro Date: Tue, 21 May 2024 07:51:47 -0300 Subject: [PATCH] fix: upgrade to Go 1.22 (#16) --- .semaphore/semaphore.yml | 3 ++- Dockerfile.dev | 2 +- go.mod | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index 545441b..f355bd7 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -11,7 +11,7 @@ blocks: jobs: - name: Lint commands: - - sem-version go 1.21 + - sem-version go 1.22.3 - checkout - go install github.com/mgechev/revive@latest - make lint @@ -42,6 +42,7 @@ blocks: - make check.static - name: Check docker commands: + - sem-version go 1.22.3 - make docker.build - make check.docker epilogue: diff --git a/Dockerfile.dev b/Dockerfile.dev index 8c7790c..a75ec4a 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -1,4 +1,4 @@ -FROM golang:1.21 +FROM golang:1.22.3 RUN go install gotest.tools/gotestsum@latest diff --git a/go.mod b/go.mod index 8920266..8ba7a30 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/renderedtext/agent-k8s-stack -go 1.21 +go 1.22 require ( github.com/go-logr/logr v1.4.1