File tree Expand file tree Collapse file tree 4 files changed +12
-12
lines changed Expand file tree Collapse file tree 4 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -15,26 +15,21 @@ jobs:
15
15
- name : Set up Go
16
16
uses : actions/setup-go@v2
17
17
with :
18
- go-version : 1.17
19
-
20
- - name : Install Go 1.18
21
- run : |
22
- go install golang.org/dl/go1.18beta1@latest
23
- go1.18beta1 download
18
+ go-version : 1.18
24
19
25
20
- name : Build
26
- run : go1.18beta1 build -v ./...
21
+ run : go build -v ./...
27
22
28
23
- name : Test
29
- run : go1.18beta1 test -v ./...
24
+ run : go test -v ./...
30
25
31
26
- name : Calcualte coverage
32
27
run : |
33
- go1.18beta1 test -v -covermode=count -coverprofile=coverage.out
28
+ go test -v -covermode=count -coverprofile=coverage.out
34
29
- name : Convert coverage.out to coverage.lcov
35
30
uses :
jandelgado/[email protected]
36
31
- name : Coveralls
37
32
uses :
coverallsapp/[email protected]
38
33
with :
39
34
github-token : ${{ secrets.github_token }}
40
- path-to-lcov : coverage.lcov
35
+ path-to-lcov : coverage.lcov
Original file line number Diff line number Diff line change 1
1
package tuple
2
2
3
3
import (
4
- "constraints"
4
+ "golang.org/x/exp/ constraints"
5
5
)
6
6
7
7
// OrderedComparisonResult represents the result of a tuple ordered comparison.
Original file line number Diff line number Diff line change @@ -2,7 +2,10 @@ module github.com/barweiss/go-tuple
2
2
3
3
go 1.18
4
4
5
- require github.com/stretchr/testify v1.7.0
5
+ require (
6
+ github.com/stretchr/testify v1.7.0
7
+ golang.org/x/exp v0.0.0-20220314205449-43aec2f8a4e7
8
+ )
6
9
7
10
require (
8
11
github.com/davecgh/go-spew v1.1.0 // indirect
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZN
5
5
github.com/stretchr/objx v0.1.0 /go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME =
6
6
github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY =
7
7
github.com/stretchr/testify v1.7.0 /go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg =
8
+ golang.org/x/exp v0.0.0-20220314205449-43aec2f8a4e7 h1:jynE66seADJbyWMUdeOyVTvPtBZt7L6LJHupGwxPZRM =
9
+ golang.org/x/exp v0.0.0-20220314205449-43aec2f8a4e7 /go.mod h1:lgLbSvA5ygNOMpwM/9anMpWVlVJ7Z+cHWq/eFuinpGE =
8
10
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM =
9
11
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 /go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0 =
10
12
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo =
You can’t perform that action at this time.
0 commit comments