File tree 5 files changed +13
-38
lines changed
5 files changed +13
-38
lines changed Original file line number Diff line number Diff line change 19
19
jobs :
20
20
lint :
21
21
name : Lint
22
+ concurrency :
23
+ group : ${{ github.workflow }}-lint-${{ github.ref }}
24
+ cancel-in-progress : true
22
25
runs-on : ubuntu-latest
23
26
steps :
24
27
- name : Checkout code
25
28
uses : actions/checkout@v4
26
29
- name : Install Go
27
- uses : actions/setup-go@v5
30
+ uses : actions/setup-go@v4
28
31
with :
29
- go-version : 1.22 .x
32
+ go-version : 1.23 .x
30
33
- name : Check Go module tidiness
31
34
shell : bash
32
35
run : |
@@ -48,15 +51,15 @@ jobs:
48
51
name : Test
49
52
strategy :
50
53
matrix :
51
- go-version : [ 1.21 .x, 1.22 .x ]
54
+ go-version : [ 1.22 .x, 1.23 .x ]
52
55
platform : [ ubuntu-latest, macos-latest, windows-latest ]
53
56
runs-on : ${{ matrix.platform }}
54
57
steps :
58
+ - name : Checkout code
59
+ uses : actions/checkout@v4
55
60
- name : Install Go
56
61
uses : actions/setup-go@v5
57
62
with :
58
63
go-version : ${{ matrix.go-version }}
59
- - name : Checkout code
60
- uses : actions/checkout@v4
61
64
- name : Run tests with coverage
62
65
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 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.7 .0
8
+ golang.org/x/sync v0.8 .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.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 =
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 =
Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ func TestRepository_SymbolicRef(t *testing.T) {
168
168
169
169
// Set a symbolic reference
170
170
_ , err = r .SymbolicRef (SymbolicRefOptions {
171
- Name : "TEST-REF " ,
171
+ Name : "TEST_REF " ,
172
172
Ref : RefsHeads + "develop" ,
173
173
})
174
174
if err != nil {
@@ -177,7 +177,7 @@ func TestRepository_SymbolicRef(t *testing.T) {
177
177
178
178
// Get the symbolic reference we just set
179
179
ref , err = r .SymbolicRef (SymbolicRefOptions {
180
- Name : "TEST-REF " ,
180
+ Name : "TEST_REF " ,
181
181
})
182
182
if err != nil {
183
183
t .Fatal (err )
You can’t perform that action at this time.
0 commit comments