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:
2222 runs-on : ubuntu-latest
2323 steps :
2424 - name : Checkout code
25- uses : actions/checkout@v3
25+ uses : actions/checkout@v4
2626 - name : Install Go
27- uses : actions/setup-go@v4
27+ uses : actions/setup-go@v5
2828 with :
29- go-version : 1.20 .x
29+ go-version : 1.22 .x
3030 - name : Check Go module tidiness
3131 shell : bash
3232 run : |
@@ -48,20 +48,15 @@ jobs:
4848 name : Test
4949 strategy :
5050 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 ]
5252 platform : [ ubuntu-latest, macos-latest, windows-latest ]
5353 runs-on : ${{ matrix.platform }}
5454 steps :
5555 - name : Install Go
56- uses : actions/setup-go@v4
56+ uses : actions/setup-go@v5
5757 with :
5858 go-version : ${{ matrix.go-version }}
5959 - name : Checkout code
60- uses : actions/checkout@v3
60+ uses : actions/checkout@v4
6161 - name : Run tests with coverage
6262 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 55require (
66 github.com/mcuadros/go-version v0.0.0-20190308113854-92cdf37c5b75
77 github.com/stretchr/testify v1.9.0
8- golang.org/x/sync v0.6 .0
8+ golang.org/x/sync v0.7 .0
99)
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
1414github.com/stretchr/testify v1.8.4 /go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo =
1515github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg =
1616github.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 =
1919gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM =
2020gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 /go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0 =
2121gopkg.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