File tree Expand file tree Collapse file tree 4 files changed +7
-15
lines changed Expand file tree Collapse file tree 4 files changed +7
-15
lines changed Original file line number Diff line number Diff line change 10
10
11
11
env :
12
12
# Upload coverage only for this go version.
13
- LATEST_GO_VERSION : " 1.20 "
13
+ LATEST_GO_VERSION : " 1.21 "
14
14
15
15
jobs :
16
16
test :
17
17
strategy :
18
18
matrix :
19
19
os : ["ubuntu-latest", "macos-latest", "windows-latest"]
20
- go : ["1.18", "1.19", "1.20"]
20
+ go : ["1.18", "1.19", "1.20", "1.21" ]
21
21
22
22
name : ${{ matrix.os }} & Go ${{ matrix.go }}
23
23
35
35
- name : Test
36
36
shell : bash
37
37
run : |
38
- go vet ./...
39
38
go test -v -race -coverprofile=coverage.out -covermode=atomic $(go list ./... | grep -v /examples)
40
39
41
40
- name : Upload coverage
Original file line number Diff line number Diff line change 1
1
module github.com/mojixcoder/kid
2
2
3
- go 1.20
3
+ go 1.21
4
4
5
- require github.com/stretchr/testify v1.8.2
5
+ require github.com/stretchr/testify v1.8.4
6
6
7
7
require (
8
8
github.com/davecgh/go-spew v1.1.1 // indirect
Original file line number Diff line number Diff line change 1
- github.com/davecgh/go-spew v1.1.0 /go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38 =
2
1
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c =
3
2
github.com/davecgh/go-spew v1.1.1 /go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38 =
4
3
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM =
5
4
github.com/pmezard/go-difflib v1.0.0 /go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4 =
6
- github.com/stretchr/objx v0.1.0 /go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME =
7
- github.com/stretchr/objx v0.4.0 /go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw =
8
- github.com/stretchr/objx v0.5.0 /go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo =
9
- github.com/stretchr/testify v1.7.1 /go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg =
10
- github.com/stretchr/testify v1.8.0 /go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU =
11
- github.com/stretchr/testify v1.8.2 h1:+h33VjcLVPDHtOdpUCuF+7gSuG3yGIftsP1YvFihtJ8 =
12
- github.com/stretchr/testify v1.8.2 /go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4 =
5
+ github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk =
6
+ github.com/stretchr/testify v1.8.4 /go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo =
13
7
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM =
14
8
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 /go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0 =
15
- gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c /go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM =
16
9
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA =
17
10
gopkg.in/yaml.v3 v3.0.1 /go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM =
Original file line number Diff line number Diff line change 41
41
)
42
42
43
43
// Version of Kid.
44
- const Version string = "0 .1.0"
44
+ const Version string = "v0 .1.0"
45
45
46
46
// allMethods is a list of all HTTP methods.
47
47
var allMethods = []string {
You can’t perform that action at this time.
0 commit comments