Skip to content

Commit

Permalink
Run tests on Go 1.16 (#252)
Browse files Browse the repository at this point in the history
Add Go 1.16 to the GitHub actions test coverage matrix.

Also switch the gofmt check to only run on Go 1.16, i.e. the latest
supported version.
  • Loading branch information
tklauser authored Feb 20, 2021
1 parent 3a98a11 commit e9947a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
working-directory: ${{ env.GOPATH }}/src/github.com/${{ github.repository }}
strategy:
matrix:
go-version: [1.8.x, 1.9.x, 1.10.x, 1.11.x, 1.12.x, 1.13.x, 1.14.x, 1.15.x]
go-version: [1.8.x, 1.9.x, 1.10.x, 1.11.x, 1.12.x, 1.13.x, 1.14.x, 1.15.x, 1.16.x]
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -26,5 +26,5 @@ jobs:
- name: Test
run: go test -v -race ./...
- name: Format
if: matrix.go-version == '1.15.x'
if: matrix.go-version == '1.16.x'
run: diff -u <(echo -n) <(gofmt -d .)

0 comments on commit e9947a2

Please sign in to comment.