From 65c33a100f16d56d8593c2297c48b94de1ed9977 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Wed, 29 Sep 2021 17:48:42 +0200 Subject: [PATCH] Use correct field to specify Go version in GitHub action 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. --- .github/workflows/test.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b4df366..5ad90e6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,6 +14,7 @@ jobs: - macos-latest - windows-latest go: + - '1.17' - '1.16' - '1.15' - '1.14' @@ -21,13 +22,13 @@ jobs: 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