Skip to content

Commit e9947a2

Browse files
authored
Run tests on Go 1.16 (#252)
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.
1 parent 3a98a11 commit e9947a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
working-directory: ${{ env.GOPATH }}/src/github.com/${{ github.repository }}
1010
strategy:
1111
matrix:
12-
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]
12+
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]
1313
os: [ubuntu-latest, macos-latest]
1414
runs-on: ${{ matrix.os }}
1515
steps:
@@ -26,5 +26,5 @@ jobs:
2626
- name: Test
2727
run: go test -v -race ./...
2828
- name: Format
29-
if: matrix.go-version == '1.15.x'
29+
if: matrix.go-version == '1.16.x'
3030
run: diff -u <(echo -n) <(gofmt -d .)

0 commit comments

Comments
 (0)