From 8abc86a1a8941f69891431ec58949c1befc53eb7 Mon Sep 17 00:00:00 2001 From: David Desmarais-Michaud Date: Thu, 23 Mar 2023 08:27:16 -0400 Subject: [PATCH] use go1.20 (#882) --- .circleci/config.yml | 6 +++--- Dockerfile | 2 +- go.mod | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b98345b83..79dc8cb66 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -7,7 +7,7 @@ orbs: executors: go: docker: - - image: cimg/go:1.18 + - image: cimg/go:1.20 environment: CGO_ENABLED: 0 mac: @@ -108,8 +108,8 @@ jobs: - checkout - run: | brew update - brew install go@1.18 - echo 'export PATH="/usr/local/opt/go@1.18/bin:$PATH"' >> ~/.bash_profile + brew install go@1.20 + echo 'export PATH="/usr/local/opt/go@1.20/bin:$PATH"' >> ~/.bash_profile - gomod - run: make test build: diff --git a/Dockerfile b/Dockerfile index c94a4659f..b5194eb1f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM cimg/go:1.18.3 +FROM cimg/go:1.20 ENV CIRCLECI_CLI_SKIP_UPDATE_CHECK true diff --git a/go.mod b/go.mod index 422116354..0133b1211 100644 --- a/go.mod +++ b/go.mod @@ -98,4 +98,4 @@ require ( // fix vulnerability: CVE-2020-15114 in etcd v3.3.10+incompatible replace github.com/coreos/etcd => github.com/coreos/etcd v3.3.24+incompatible -go 1.18 +go 1.20