From 1e7087abee038f735a1b74e5e10e22f935d896f3 Mon Sep 17 00:00:00 2001 From: Luca Sartori Date: Mon, 29 Jan 2024 13:11:32 +0100 Subject: [PATCH 1/2] Use go install instead of go get to avoid circleci fail --- .circleci/config.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e95e45b..61616bd 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,8 +2,8 @@ version: 2.1 executors: python-container: - docker: - - image: cimg/python:3.9.7 + docker: + - image: cimg/python:3.9.7 go-container: docker: - image: cimg/go:1.17.1 @@ -20,7 +20,7 @@ jobs: - run: name: Install goimports tool command: | - go get -u golang.org/x/tools/cmd/goimports + go install golang.org/x/tools/cmd/goimports@latest echo "export PATH=$GOPATH/bin:$PATH" >> $BASH_ENV - run: name: Check Go format @@ -189,4 +189,4 @@ workflows: - release-github filters: tags: - only: /v.*/ \ No newline at end of file + only: /v.*/ From 2a4bce200279fedc59387cbb92b0e912e224da2a Mon Sep 17 00:00:00 2001 From: Luca Sartori Date: Mon, 29 Jan 2024 13:18:22 +0100 Subject: [PATCH 2/2] Use latest stable go version in circleci --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 61616bd..8abee41 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,7 +6,7 @@ executors: - image: cimg/python:3.9.7 go-container: docker: - - image: cimg/go:1.17.1 + - image: cimg/go:1.21.6 environment: GO111MODULE: "on" GOPROXY: "https://proxy.golang.org"