Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run tests on Go 1.19 #309

Merged
merged 3 commits into from Aug 31, 2022
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Expand Up @@ -4,7 +4,7 @@ jobs:
test:
strategy:
matrix:
go-version: [1.13.x, 1.14.x, 1.15.x, 1.16.x, 1.17.x, 1.18.x]
go-version: [1.13.x, 1.14.x, 1.15.x, 1.16.x, 1.17.x, 1.18.x, 1.19.x]
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -17,5 +17,5 @@ jobs:
- name: Test
run: go test -v -race ./...
- name: Format
if: matrix.go-version == '1.18.x'
if: matrix.go-version == '1.19.x'
run: diff -u <(echo -n) <(gofmt -d .)
2 changes: 1 addition & 1 deletion cmp/cmpopts/util_test.go
Expand Up @@ -1072,7 +1072,7 @@ func TestOptions(t *testing.T) {
}, {
label: "AcyclicTransformer",
x: "this is a sentence",
y: "this is a sentence",
y: "this is a sentence",
opts: []cmp.Option{
AcyclicTransformer("", strings.Fields),
},
Expand Down