Skip to content

Commit a7fa71e

Browse files
committed
ci: test golang 1.16.x too
1 parent de187e8 commit a7fa71e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/Test.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
go:
2121
- 1.14.x
2222
- 1.15.x
23+
- 1.16.x
2324
name: '${{ matrix.platform }} | ${{ matrix.go }}'
2425
runs-on: ${{ matrix.platform }}-latest
2526
steps:
@@ -39,8 +40,9 @@ jobs:
3940
- run: |
4041
export GOBIN=$HOME/go/bin
4142
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | bash -s -- -b $GOBIN latest
42-
go install github.com/kyoh86/richgo
43-
go install github.com/mitchellh/gox
43+
[ "${{ matrix.go }}" = "1.16.x" ] && _version='@latest' || _version=''
44+
go install github.com/kyoh86/richgo"${_version}"
45+
go install github.com/mitchellh/gox"${_version}"
4446
4547
- run: PATH=$HOME/go/bin/:$PATH make
4648

0 commit comments

Comments
 (0)