File tree Expand file tree Collapse file tree 1 file changed +18
-19
lines changed
Expand file tree Collapse file tree 1 file changed +18
-19
lines changed Original file line number Diff line number Diff line change 11name : Go
22
33on :
4- push :
5- branches : [" main" ]
6- pull_request :
7- branches : [ " main" ]
4+ push :
5+ branches : [' main' ]
6+ pull_request :
7+ branches : [' main' ]
88
99jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v3
1014
11- build :
12- runs-on : ubuntu-latest
13- steps :
14- - uses : actions/checkout@v3
15+ - name : Set up Go
16+ uses : actions/setup-go@v3
17+ with :
18+ go-version : 1.19
1519
16- - name : Set up Go
17- uses : actions/setup-go@v3
18- with :
19- go-version : 1.19
20+ - name : Build
21+ run : go build -v ./...
2022
21- - name : Build
22- run : go build -v ./...
23+ - name : Test
24+ run : go test -race -coverprofile=coverage.txt -covermode=atomic -v ./...
2325
24- - name : Test
25- run : go test -race -coverprofile=coverage.txt -covermode=atomic -v ./...
26-
27- - name : Codecov
28- uses : codecov/codecov-action@v3
26+ - name : Codecov
27+ uses : codecov/codecov-action@v3
You can’t perform that action at this time.
0 commit comments