update to codecov version
This commit is contained in:
parent
780a8a061c
commit
c27ef0a65c
1 changed files with 4 additions and 1 deletions
5
.github/workflows/push.yml
vendored
5
.github/workflows/push.yml
vendored
|
@ -18,6 +18,8 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
fetch-depth: 2
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v1
|
uses: docker/setup-qemu-action@v1
|
||||||
- uses: actions/setup-go@v1
|
- uses: actions/setup-go@v1
|
||||||
|
@ -26,7 +28,8 @@ jobs:
|
||||||
- run: go test -cover -coverprofile=coverage.txt -covermode=atomic ./...
|
- run: go test -cover -coverprofile=coverage.txt -covermode=atomic ./...
|
||||||
env:
|
env:
|
||||||
CGO_ENABLED: 0
|
CGO_ENABLED: 0
|
||||||
- uses: codecov/codecov-action@v1
|
- name: Upload Codecov report
|
||||||
|
uses: codecov/codecov-action@v1.3.1
|
||||||
with:
|
with:
|
||||||
files: coverage.txt
|
files: coverage.txt
|
||||||
fail_ci_if_error: true # optional (default = false)
|
fail_ci_if_error: true # optional (default = false)
|
||||||
|
|
Loading…
Add table
Reference in a new issue