Skip to content

Commit

Permalink
Merge pull request #237 from gotestyourself/ci-go1.18
Browse files Browse the repository at this point in the history
Add go1.18 to CI, and fix goreleaser install
  • Loading branch information
dnephin committed Mar 24, 2022
2 parents 661b091 + 99a7f30 commit d9cd222
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,6 @@ orbs:
workflows:
ci:
jobs:
- go/test:
name: test-go-1.14
gotestsum-format: testname
executor:
name: go/golang
tag: 1.14-alpine

- go/test:
name: test-go-1.15
gotestsum-format: testname
Expand All @@ -34,6 +27,13 @@ workflows:
name: go/golang
tag: 1.17-alpine

- go/test:
name: test-go-1.18
gotestsum-format: testname
executor:
name: go/golang
tag: 1.18-alpine

- go/test:
name: test-windows
executor: windows
Expand Down Expand Up @@ -77,8 +77,13 @@ commands:
- run:
name: Install goreleaser
command: |
command -v goreleaser && exit
wget -O- -q https://install.goreleaser.com/github.com/goreleaser/goreleaser.sh | sh
wget https://github.com/goreleaser/goreleaser/releases/download/v1.7.0/goreleaser_Linux_x86_64.tar.gz
echo "e74934e7571991522324642ac7b032310f04baf192ce2a54db1dc323b97bcd7d goreleaser_Linux_x86_64.tar.gz" > checksum.txt
sha256sum -c checksum.txt
tar -xf goreleaser_Linux_x86_64.tar.gz
mkdir -p ./bin
mv goreleaser ./bin
jobs:

Expand All @@ -89,7 +94,7 @@ jobs:
default: false
executor:
name: go/golang
tag: 1.17-alpine
tag: 1.18-alpine
steps:
- go/install: {package: git}
- go/install-ssh
Expand Down

0 comments on commit d9cd222

Please sign in to comment.