mirror of
https://github.com/spf13/cobra
synced 2025-05-05 04:47: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
|
||||
- 17
|
||||
- 18
|
||||
- 19
|
||||
name: '${{ matrix.platform }} | 1.${{ matrix.go }}.x'
|
||||
runs-on: ${{ matrix.platform }}-latest
|
||||
steps:
|
||||
|
@ -56,8 +57,8 @@ jobs:
|
|||
- run: |
|
||||
export GOBIN=$HOME/go/bin
|
||||
case "${{ matrix.go }}" in
|
||||
16|17|18) _version='@latest';;
|
||||
*) _version='';;
|
||||
14|15) _version='';;
|
||||
*) _version='@latest';;
|
||||
esac
|
||||
go install github.com/kyoh86/richgo"${_version}"
|
||||
go install github.com/mitchellh/gox"${_version}"
|
||||
|
|
Loading…
Add table
Reference in a new issue