Tweak build action
This commit is contained in:
1 parent
6b3e11a47c
commit
e463aec5f6
1 file changed
+3
-1
@@ -22,8 +22,10 @@ jobs:
|
||||
uses: actions/checkout@v2
|
||||
- name: Build binary to make sure it works
|
||||
run: go build -mod vendor
|
||||
- run: go version && which go
|
||||
- run: sudo go version && sudo which go
|
||||
- name: Test
|
||||
run: go test -mod vendor ./... -race -coverprofile=coverage.txt -covermode=atomic
|
||||
run: sudo go test -mod vendor ./... -race -coverprofile=coverage.txt -covermode=atomic
|
||||
- name: Codecov
|
||||
uses: codecov/codecov-action@v1.0.14
|
||||
with:
|
||||
|
||||
Reference in new issue
Block a user