mirror of
https://github.com/spf13/cobra
synced 2025-05-05 12:57:22 +00:00
ci: test golang 1.17.x too
This commit is contained in:
parent
65c2074cbe
commit
604154e005
1 changed files with 2 additions and 1 deletions
3
.github/workflows/Test.yml
vendored
3
.github/workflows/Test.yml
vendored
|
@ -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}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue