From 8bd1f3752e42c9ada377277ad266023a30276644 Mon Sep 17 00:00:00 2001 From: Matt Clegg Date: Tue, 22 Oct 2024 14:16:20 +0100 Subject: [PATCH] BUGFIX: ci image to include go cimg/go is a Docker image created by CircleCI with continuous integration builds in mind. Each tag contains a complete Go version and toolchain, the testing wrapper gotestsum, and any binaries and tools that are required for builds to complete successfully in a CircleCI environment. --- .circleci/config.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d0b53261..b811212f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -5,7 +5,7 @@ version: 2.1 jobs: build: machine: - image: ubuntu-2004:202201-02 + image: cimg/go:1.20 environment: ENV: CI GO111MODULE: "on" @@ -35,9 +35,6 @@ jobs: command: | mkdir -p /tmp/artifacts mkdir -p /tmp/test-results - - run: sudo rm -rf /usr/local/go - - run: wget https://golang.org/dl/go1.20.1.linux-amd64.tar.gz -O /tmp/go.tgz - - run: sudo tar -C /usr/local -xzf /tmp/go.tgz - run: go version - run: go get -v -t -d ./... - run: make lint