File tree Expand file tree Collapse file tree 1 file changed +10
-11
lines changed
Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -13,22 +13,21 @@ jobs:
1313 runs-on : ubuntu-latest
1414 steps :
1515
16- - name : Set up Go 1.13
17- uses : actions/setup-go@v1
18- with :
19- go-version : 1.13
20- id : go
16+ - name : Setup Go environment
17+ uses : actions/setup-go@v2
18+ run : go version
2119
2220 - name : Check out code into the Go module directory
2321 uses : actions/checkout@v2
2422
2523 - name : Get dependencies
26- run : |
27- go get -v -t -d ./...
28- if [ -f Gopkg.toml ]; then
29- curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
30- dep ensure
31- fi
24+ run : go get -v -t -d ./...
3225
3326 - name : Build
3427 run : go build -v .
28+
29+ - name : Test
30+ run : go test -race -coverprofile=coverage.txt -covermode=atomic ./...
31+
32+ - name : Codecov
33+ uses : codecov/codecov-action@v1.0.7
You can’t perform that action at this time.
0 commit comments