Skip to content

Commit 7045405

Browse files
umarcorjpmcb
andauthored
ci: test on Golang 1.19 (#1782)
* ci: test on Golang 1.19 * ci: run golangci-lint on golang 1.19 * Adds `check-latest` for setup-go action v3 * ci/golangci-lint: use latest version available in setup-go's manifest Signed-off-by: John McBride <[email protected]> Signed-off-by: umarcor <[email protected]> Co-authored-by: John McBride <[email protected]>
1 parent 22b6179 commit 7045405

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ jobs:
1515

1616
- uses: actions/setup-go@v3
1717
with:
18-
go-version: '1.17'
18+
go-version: '^1.19'
19+
check-latest: true
1920

2021
- uses: actions/checkout@v3
2122

@@ -37,6 +38,7 @@ jobs:
3738
- 16
3839
- 17
3940
- 18
41+
- 19
4042
name: '${{ matrix.platform }} | 1.${{ matrix.go }}.x'
4143
runs-on: ${{ matrix.platform }}-latest
4244
steps:
@@ -56,8 +58,8 @@ jobs:
5658
- run: |
5759
export GOBIN=$HOME/go/bin
5860
case "${{ matrix.go }}" in
59-
16|17|18) _version='@latest';;
60-
*) _version='';;
61+
14|15) _version='';;
62+
*) _version='@latest';;
6163
esac
6264
go install github.com/kyoh86/richgo"${_version}"
6365
go install github.com/mitchellh/gox"${_version}"

0 commit comments

Comments
 (0)