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
|
||||
- 15
|
||||
- 16
|
||||
- 17
|
||||
name: '${{ matrix.platform }} | 1.${{ matrix.go }}.x'
|
||||
runs-on: ${{ matrix.platform }}-latest
|
||||
steps:
|
||||
|
@ -41,7 +42,7 @@ jobs:
|
|||
export GOBIN=$HOME/go/bin
|
||||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | bash -s -- -b $GOBIN latest
|
||||
case "${{ matrix.go }}" in
|
||||
16) _version='@latest';;
|
||||
16|17) _version='@latest';;
|
||||
*) _version='';;
|
||||
esac
|
||||
go install github.com/kyoh86/richgo"${_version}"
|
||||
|
|
Loading…
Add table
Reference in a new issue