mirror of
https://github.com/spf13/cobra
synced 2024-11-24 14:47:12 +00:00
ci: test on Golang 1.18 (#1635)
This commit is contained in:
parent
37463cff2c
commit
65b1195d6e
1 changed files with 2 additions and 1 deletions
3
.github/workflows/test.yml
vendored
3
.github/workflows/test.yml
vendored
|
@ -36,6 +36,7 @@ jobs:
|
||||||
- 15
|
- 15
|
||||||
- 16
|
- 16
|
||||||
- 17
|
- 17
|
||||||
|
- 18
|
||||||
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:
|
||||||
|
@ -55,7 +56,7 @@ jobs:
|
||||||
- run: |
|
- run: |
|
||||||
export GOBIN=$HOME/go/bin
|
export GOBIN=$HOME/go/bin
|
||||||
case "${{ matrix.go }}" in
|
case "${{ matrix.go }}" in
|
||||||
16|17) _version='@latest';;
|
16|17|18) _version='@latest';;
|
||||||
*) _version='';;
|
*) _version='';;
|
||||||
esac
|
esac
|
||||||
go install github.com/kyoh86/richgo"${_version}"
|
go install github.com/kyoh86/richgo"${_version}"
|
||||||
|
|
Loading…
Reference in a new issue