Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add go1.18 to CI, and fix goreleaser install #237

Merged
merged 2 commits into from
Mar 24, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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