Update go.yml
This commit is contained in:
parent
96aa826516
commit
535a69cd92
4
.github/workflows/go.yml
vendored
4
.github/workflows/go.yml
vendored
@ -12,9 +12,7 @@ jobs:
|
|||||||
- uses: actions/setup-go@v2
|
- uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
go-version: '1.17'
|
go-version: '1.17'
|
||||||
- name: Codecov
|
|
||||||
uses: codecov/codecov-action@v2.1.0
|
|
||||||
- name: Run coverage
|
- name: Run coverage
|
||||||
run: go test -race -coverprofile=coverage.txt -covermode=atomic
|
run: go test -race -coverprofile=coverage.txt -covermode=atomic ./...
|
||||||
- name: Upload coverage to Codecov
|
- name: Upload coverage to Codecov
|
||||||
run: bash <(curl -s https://codecov.io/bash)
|
run: bash <(curl -s https://codecov.io/bash)
|
||||||
|
Loading…
Reference in New Issue
Block a user