Skip to content

Commit

Permalink
Use correct field to specify Go version in GitHub action
Browse files Browse the repository at this point in the history
There is a typo in the actions/setup-go step which leads to the Go
version not being picked up correctly. Fix it.

Also enable testing with Go 1.17.
  • Loading branch information
tklauser committed Sep 29, 2021
1 parent 504425e commit 65c33a1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test.yml
Expand Up @@ -14,20 +14,21 @@ jobs:
- macos-latest
- windows-latest
go:
- '1.17'
- '1.16'
- '1.15'
- '1.14'
- '1.13'
steps:
- uses: actions/setup-go@v2
with:
go-versions: ${{ matrix.go }}
go-version: ${{ matrix.go }}
- uses: actions/checkout@v2
- name: test
shell: bash
run: |
./go.test.sh
- name: upload the coverage
- name: upload coverage report
uses: codecov/codecov-action@v2
with:
env_vars: OS,GO
Expand Down

0 comments on commit 65c33a1

Please sign in to comment.