mirror of
https://github.com/spf13/cobra
synced 2025-05-05 12:57:22 +00:00
ci: test on Golang 1.19
This commit is contained in:
parent
dbf85f6104
commit
0cb3a0a26d
1 changed files with 3 additions and 2 deletions
5
.github/workflows/test.yml
vendored
5
.github/workflows/test.yml
vendored
|
@ -37,6 +37,7 @@ jobs:
|
||||||
- 16
|
- 16
|
||||||
- 17
|
- 17
|
||||||
- 18
|
- 18
|
||||||
|
- 19
|
||||||
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:
|
||||||
|
@ -56,8 +57,8 @@ jobs:
|
||||||
- run: |
|
- run: |
|
||||||
export GOBIN=$HOME/go/bin
|
export GOBIN=$HOME/go/bin
|
||||||
case "${{ matrix.go }}" in
|
case "${{ matrix.go }}" in
|
||||||
16|17|18) _version='@latest';;
|
14|15) _version='';;
|
||||||
*) _version='';;
|
*) _version='@latest';;
|
||||||
esac
|
esac
|
||||||
go install github.com/kyoh86/richgo"${_version}"
|
go install github.com/kyoh86/richgo"${_version}"
|
||||||
go install github.com/mitchellh/gox"${_version}"
|
go install github.com/mitchellh/gox"${_version}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue