ci: test on Golang 1.19

This commit is contained in:
umarcor 2022-08-22 00:29:56 +02:00
parent dbf85f6104
commit 0cb3a0a26d

View file

@ -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}"