diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2e6a1c9..5664da6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,5 +26,5 @@ jobs: - name: Test run: go test -v -race ./... - name: Format - if: matrix.go-version == '1.16.x' + if: matrix.go-version == '1.17.x' run: diff -u <(echo -n) <(gofmt -d .) diff --git a/cmp/cmpopts/errors_go113.go b/cmp/cmpopts/errors_go113.go index 26fe25d..8eb2b84 100644 --- a/cmp/cmpopts/errors_go113.go +++ b/cmp/cmpopts/errors_go113.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build go1.13 // +build go1.13 package cmpopts diff --git a/cmp/cmpopts/errors_xerrors.go b/cmp/cmpopts/errors_xerrors.go index 6eeb8d6..60b0727 100644 --- a/cmp/cmpopts/errors_xerrors.go +++ b/cmp/cmpopts/errors_xerrors.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build !go1.13 // +build !go1.13 // TODO(≥go1.13): For support on