mirror of
https://github.com/spf13/cobra
synced 2025-05-05 12:57:22 +00:00
ci: test golang 1.16.x too
This commit is contained in:
parent
2a5277810f
commit
113cbc7bb2
1 changed files with 4 additions and 2 deletions
6
.github/workflows/Test.yml
vendored
6
.github/workflows/Test.yml
vendored
|
@ -20,6 +20,7 @@ jobs:
|
|||
go:
|
||||
- 1.14.x
|
||||
- 1.15.x
|
||||
- 1.16.x
|
||||
name: '${{ matrix.platform }} | ${{ matrix.go }}'
|
||||
runs-on: ${{ matrix.platform }}-latest
|
||||
steps:
|
||||
|
@ -39,8 +40,9 @@ jobs:
|
|||
- run: |
|
||||
export GOBIN=$HOME/go/bin
|
||||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | bash -s -- -b $GOBIN latest
|
||||
go install github.com/kyoh86/richgo
|
||||
go install github.com/mitchellh/gox
|
||||
[ "${{ matrix.go }}" = "1.16.x" ] && _version='@latest' || _version=''
|
||||
go install github.com/kyoh86/richgo"${_version}"
|
||||
go install github.com/mitchellh/gox"${_version}"
|
||||
|
||||
- run: PATH=$HOME/go/bin/:$PATH make
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue