File tree Expand file tree Collapse file tree 3 files changed +25
-26
lines changed
Expand file tree Collapse file tree 3 files changed +25
-26
lines changed Original file line number Diff line number Diff line change @@ -5,33 +5,32 @@ name: Go
55
66on :
77 push :
8- branches : [ "master" ]
8+ branches : ["master"]
99 pull_request :
10- branches : [ "master" ]
10+ branches : ["master"]
1111 workflow_dispatch :
1212
1313jobs :
14-
1514 build :
1615 runs-on : ubuntu-latest
1716 steps :
18- - uses : actions/checkout@v4
19-
20- - name : Set up Go
21- uses : actions/setup-go@v5
22- with :
23- go-version : ' 1.19 '
24-
25- - name : Build
26- run : go build -v ./...
27-
28- - name : Test
29- run : go test -v ./...
30-
31- - name : Update coverage report
32- uses : ncruces/go-coverage-report@v0
33- with :
34- report : true
35- chart : true
36- amend : true
37- continue-on-error : true
17+ - uses : actions/checkout@v5
18+
19+ - name : Set up Go
20+ uses : actions/setup-go@v6
21+ with :
22+ go-version : " 1.18 "
23+
24+ - name : Build
25+ run : go build -v ./...
26+
27+ - name : Test
28+ run : go test -v ./...
29+
30+ - name : Update coverage report
31+ uses : ncruces/go-coverage-report@v0
32+ with :
33+ report : true
34+ chart : true
35+ amend : true
36+ continue-on-error : true
Original file line number Diff line number Diff line change 44
55require (
66 github.com/lann/builder v0.0.0-20180802200727-47ae307949d0
7- github.com/stretchr/testify v1.10.0
7+ github.com/stretchr/testify v1.11.1
88)
99
1010require (
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ github.com/lann/ps v0.0.0-20150810152359-62de8c46ede0 h1:P6pPBnrTSX3DEVR4fDembhR
66github.com/lann/ps v0.0.0-20150810152359-62de8c46ede0 /go.mod h1:vmVJ0l/dxyfGW6FmdpVm2joNMFikkuWg0EoCKLGUMNw =
77github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM =
88github.com/pmezard/go-difflib v1.0.0 /go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4 =
9- github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA =
10- github.com/stretchr/testify v1.10.0 /go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY =
9+ github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U =
10+ github.com/stretchr/testify v1.11.1 /go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U =
1111golang.org/x/exp v0.0.0-20240222234643-814bf88cf225 h1:LfspQV/FYTatPTr/3HzIcmiUFH7PGP+OQ6mgDYo3yuQ =
1212golang.org/x/exp v0.0.0-20240222234643-814bf88cf225 /go.mod h1:CxmFvTBINI24O/j8iY7H1xHzx2i4OsyguNBmN/uPtqc =
1313gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM =
You can’t perform that action at this time.
0 commit comments