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:
|
go:
|
||||||
- 1.14.x
|
- 1.14.x
|
||||||
- 1.15.x
|
- 1.15.x
|
||||||
|
- 1.16.x
|
||||||
name: '${{ matrix.platform }} | ${{ matrix.go }}'
|
name: '${{ matrix.platform }} | ${{ matrix.go }}'
|
||||||
runs-on: ${{ matrix.platform }}-latest
|
runs-on: ${{ matrix.platform }}-latest
|
||||||
steps:
|
steps:
|
||||||
|
@ -39,8 +40,9 @@ jobs:
|
||||||
- run: |
|
- run: |
|
||||||
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
|
||||||
go install github.com/kyoh86/richgo
|
[ "${{ matrix.go }}" = "1.16.x" ] && _version='@latest' || _version=''
|
||||||
go install github.com/mitchellh/gox
|
go install github.com/kyoh86/richgo"${_version}"
|
||||||
|
go install github.com/mitchellh/gox"${_version}"
|
||||||
|
|
||||||
- run: PATH=$HOME/go/bin/:$PATH make
|
- run: PATH=$HOME/go/bin/:$PATH make
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue