Skip to content

Commit

Permalink
BUGFIX ci image to include go
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mattclegg committed Oct 22, 2024
1 parent 2fe5cb1 commit b4f4332
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit b4f4332

Please sign in to comment.