ci: test on Golang 1.18 (#1635)

This commit is contained in:
Unai Martinez-Corral 2022-03-17 10:26:10 +00:00 committed by GitHub
parent 37463cff2c
commit 65b1195d6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -36,6 +36,7 @@ jobs:
- 15
- 16
- 17
- 18
name: '${{ matrix.platform }} | 1.${{ matrix.go }}.x'
runs-on: ${{ matrix.platform }}-latest
steps:
@ -55,7 +56,7 @@ jobs:
- run: |
export GOBIN=$HOME/go/bin
case "${{ matrix.go }}" in
16|17) _version='@latest';;
16|17|18) _version='@latest';;
*) _version='';;
esac
go install github.com/kyoh86/richgo"${_version}"