mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-09-15 18:57:01 +00:00
update to codecov version
This commit is contained in:
parent
e643c2625e
commit
e29e1ef2d6
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
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 2
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v1
|
||||
- uses: actions/setup-go@v1
|
||||
|
@ -26,7 +28,8 @@ jobs:
|
|||
- run: go test -cover -coverprofile=coverage.txt -covermode=atomic ./...
|
||||
env:
|
||||
CGO_ENABLED: 0
|
||||
- uses: codecov/codecov-action@v1
|
||||
- name: Upload Codecov report
|
||||
uses: codecov/codecov-action@v1.3.1
|
||||
with:
|
||||
files: coverage.txt
|
||||
fail_ci_if_error: true # optional (default = false)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue