ci: test golang 1.17.x too

This commit is contained in:
umarcor 2021-08-17 14:03:34 +02:00
parent 65c2074cbe
commit 604154e005

View file

@ -21,6 +21,7 @@ jobs:
- 14 - 14
- 15 - 15
- 16 - 16
- 17
name: '${{ matrix.platform }} | 1.${{ matrix.go }}.x' name: '${{ matrix.platform }} | 1.${{ matrix.go }}.x'
runs-on: ${{ matrix.platform }}-latest runs-on: ${{ matrix.platform }}-latest
steps: steps:
@ -41,7 +42,7 @@ jobs:
export GOBIN=$HOME/go/bin export GOBIN=$HOME/go/bin
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | bash -s -- -b $GOBIN latest curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | bash -s -- -b $GOBIN latest
case "${{ matrix.go }}" in case "${{ matrix.go }}" in
16) _version='@latest';; 16|17) _version='@latest';;
*) _version='';; *) _version='';;
esac esac
go install github.com/kyoh86/richgo"${_version}" go install github.com/kyoh86/richgo"${_version}"