Skip to content

Commit

Permalink
ci: test on Golang 1.19 (#1782)
Browse files Browse the repository at this point in the history
* 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 <jpmmcbride@gmail.com>
Signed-off-by: umarcor <unai.martinezcorral@ehu.eus>
Co-authored-by: John McBride <jpmmcbride@gmail.com>
  • Loading branch information
umarcor and jpmcb committed Aug 30, 2022
1 parent 22b6179 commit 7045405
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/test.yml
Expand Up @@ -15,7 +15,8 @@ jobs:

- uses: actions/setup-go@v3
with:
go-version: '1.17'
go-version: '^1.19'
check-latest: true

- uses: actions/checkout@v3

Expand All @@ -37,6 +38,7 @@ jobs:
- 16
- 17
- 18
- 19
name: '${{ matrix.platform }} | 1.${{ matrix.go }}.x'
runs-on: ${{ matrix.platform }}-latest
steps:
Expand All @@ -56,8 +58,8 @@ jobs:
- run: |
export GOBIN=$HOME/go/bin
case "${{ matrix.go }}" in
16|17|18) _version='@latest';;
*) _version='';;
14|15) _version='';;
*) _version='@latest';;
esac
go install github.com/kyoh86/richgo"${_version}"
go install github.com/mitchellh/gox"${_version}"
Expand Down

0 comments on commit 7045405

Please sign in to comment.