diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2021-02-20 23:00:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-20 14:00:13 -0800 |
commit | e9947a2e1dee9e355ae5d2f794787ad215aff039 (patch) | |
tree | 06a91d87ae5a0855ac52cfeb836cc008a7535b90 | |
parent | 3a98a11b2c6d5ad66696f2954b3811f0244fb71d (diff) | |
download | go-cmp-e9947a2e1dee9e355ae5d2f794787ad215aff039.tar.gz |
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.
-rw-r--r-- | .github/workflows/test.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0120fdc..6b1b1c4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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: @@ -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 .) |