Skip to content

Commit b4f4332

Browse files
committed
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.
1 parent 2fe5cb1 commit b4f4332

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.circleci/config.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ version: 2.1
55
jobs:
66
build:
77
machine:
8-
image: ubuntu-2004:202201-02
8+
image: cimg/go:1.20
99
environment:
1010
ENV: CI
1111
GO111MODULE: "on"
@@ -35,9 +35,6 @@ jobs:
3535
command: |
3636
mkdir -p /tmp/artifacts
3737
mkdir -p /tmp/test-results
38-
- run: sudo rm -rf /usr/local/go
39-
- run: wget https://golang.org/dl/go1.20.1.linux-amd64.tar.gz -O /tmp/go.tgz
40-
- run: sudo tar -C /usr/local -xzf /tmp/go.tgz
4138
- run: go version
4239
- run: go get -v -t -d ./...
4340
- run: make lint

0 commit comments

Comments
 (0)