File tree Expand file tree Collapse file tree 5 files changed +13
-38
lines changed Expand file tree Collapse file tree 5 files changed +13
-38
lines changed Original file line number Diff line number Diff line change 1919jobs :
2020 lint :
2121 name : Lint
22+ concurrency :
23+ group : ${{ github.workflow }}-lint-${{ github.ref }}
24+ cancel-in-progress : true
2225 runs-on : ubuntu-latest
2326 steps :
2427 - name : Checkout code
2528 uses : actions/checkout@v4
2629 - name : Install Go
27- uses : actions/setup-go@v5
30+ uses : actions/setup-go@v4
2831 with :
29- go-version : 1.22 .x
32+ go-version : 1.23 .x
3033 - name : Check Go module tidiness
3134 shell : bash
3235 run : |
@@ -48,15 +51,15 @@ jobs:
4851 name : Test
4952 strategy :
5053 matrix :
51- go-version : [ 1.21 .x, 1.22 .x ]
54+ go-version : [ 1.22 .x, 1.23 .x ]
5255 platform : [ ubuntu-latest, macos-latest, windows-latest ]
5356 runs-on : ${{ matrix.platform }}
5457 steps :
58+ - name : Checkout code
59+ uses : actions/checkout@v4
5560 - name : Install Go
5661 uses : actions/setup-go@v5
5762 with :
5863 go-version : ${{ matrix.go-version }}
59- - name : Checkout code
60- uses : actions/checkout@v4
6164 - name : Run tests with coverage
6265 run : go test -v -race -coverprofile=coverage -covermode=atomic ./...
Load Diff This file was deleted.
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.7 .0
8+ golang.org/x/sync v0.8 .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.7 .0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M =
18- golang.org/x/sync v0.7 .0 /go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk =
17+ golang.org/x/sync v0.8 .0 h1:3NFvSEYkUoMifnESzZl15y791HH1qU2xm6eCJU5ZPXQ =
18+ golang.org/x/sync v0.8 .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 =
Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ func TestRepository_SymbolicRef(t *testing.T) {
168168
169169 // Set a symbolic reference
170170 _ , err = r .SymbolicRef (SymbolicRefOptions {
171- Name : "TEST-REF " ,
171+ Name : "TEST_REF " ,
172172 Ref : RefsHeads + "develop" ,
173173 })
174174 if err != nil {
@@ -177,7 +177,7 @@ func TestRepository_SymbolicRef(t *testing.T) {
177177
178178 // Get the symbolic reference we just set
179179 ref , err = r .SymbolicRef (SymbolicRefOptions {
180- Name : "TEST-REF " ,
180+ Name : "TEST_REF " ,
181181 })
182182 if err != nil {
183183 t .Fatal (err )
You can’t perform that action at this time.
0 commit comments