File tree Expand file tree Collapse file tree 3 files changed +9
-14
lines changed Expand file tree Collapse file tree 3 files changed +9
-14
lines changed Original file line number Diff line number Diff line change @@ -22,11 +22,11 @@ jobs:
22
22
runs-on : ubuntu-latest
23
23
steps :
24
24
- name : Checkout code
25
- uses : actions/checkout@v3
25
+ uses : actions/checkout@v4
26
26
- name : Install Go
27
- uses : actions/setup-go@v4
27
+ uses : actions/setup-go@v5
28
28
with :
29
- go-version : 1.20 .x
29
+ go-version : 1.22 .x
30
30
- name : Check Go module tidiness
31
31
shell : bash
32
32
run : |
@@ -48,20 +48,15 @@ jobs:
48
48
name : Test
49
49
strategy :
50
50
matrix :
51
- go-version : [ 1.17 .x, 1.18.x, 1.19.x, 1.20 .x ]
51
+ go-version : [ 1.21 .x, 1.22 .x ]
52
52
platform : [ ubuntu-latest, macos-latest, windows-latest ]
53
53
runs-on : ${{ matrix.platform }}
54
54
steps :
55
55
- name : Install Go
56
- uses : actions/setup-go@v4
56
+ uses : actions/setup-go@v5
57
57
with :
58
58
go-version : ${{ matrix.go-version }}
59
59
- name : Checkout code
60
- uses : actions/checkout@v3
60
+ uses : actions/checkout@v4
61
61
- name : Run tests with coverage
62
62
run : go test -v -race -coverprofile=coverage -covermode=atomic ./...
63
- - name : Upload coverage report to Codecov
64
-
65
- with :
66
- file : ./coverage
67
- flags : unittests
Original file line number Diff line number Diff line change 5
5
require (
6
6
github.com/mcuadros/go-version v0.0.0-20190308113854-92cdf37c5b75
7
7
github.com/stretchr/testify v1.9.0
8
- golang.org/x/sync v0.6 .0
8
+ golang.org/x/sync v0.7 .0
9
9
)
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO
14
14
github.com/stretchr/testify v1.8.4 /go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo =
15
15
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg =
16
16
github.com/stretchr/testify v1.9.0 /go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY =
17
- golang.org/x/sync v0.6 .0 h1:5BMeUDZ7vkXGfEr1x9B4bRcTH4lpkTkpdh0T/J+qjbQ =
18
- golang.org/x/sync v0.6 .0 /go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk =
17
+ golang.org/x/sync v0.7 .0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M =
18
+ golang.org/x/sync v0.7 .0 /go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk =
19
19
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM =
20
20
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 /go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0 =
21
21
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c /go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM =
You can’t perform that action at this time.
0 commit comments