File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,36 +2,36 @@ name: CI
22
33on :
44 push :
5- branches : [ main, master ]
5+ branches : [main, master]
66 pull_request :
7- branches : [ main, master ]
7+ branches : [main, master]
88 workflow_dispatch :
99
1010jobs :
1111 test :
1212 runs-on : ubuntu-latest
1313 steps :
14- - uses : actions/checkout@v4
14+ - uses : actions/checkout@v4
1515
16- - uses : actions/setup-go@v5
17- with :
18- go-version-file : go.mod
19- cache : true
16+ - uses : actions/setup-go@v5
17+ with :
18+ go-version-file : go.mod
19+ cache : true
2020
21- - run : go build ./...
22- - run : go test -v ./...
21+ - run : go build ./...
22+ - run : go test -v ./...
2323
2424 lint :
2525 runs-on : ubuntu-latest
2626 steps :
27- - uses : actions/checkout@v4
27+ - uses : actions/checkout@v4
2828
29- - uses : actions/setup-go@v5
30- with :
31- go-version-file : go.mod
32- cache : true
29+ - uses : actions/setup-go@v5
30+ with :
31+ go-version-file : go.mod
32+ cache : true
3333
34- - uses : golangci/golangci-lint-action@v7
35- with :
36- version : v2.10.0
37-
34+ - uses : golangci/golangci-lint-action@v7
35+ with :
36+ version : v2.11.4
37+
You can’t perform that action at this time.
0 commit comments