mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-28 19:31:34 +00:00
workflows: update CodeCov action, use token for upload
It fails now without a token. Signed-off-by: Roman Khimov <roman@nspcc.ru>
This commit is contained in:
parent
a28e5b24b2
commit
8c1d061446
1 changed files with 3 additions and 1 deletions
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
|
@ -107,10 +107,12 @@ jobs:
|
||||||
run: go test -timeout 15m -v ./... -coverprofile=./coverage.txt -covermode=atomic -coverpkg=./pkg...,./cli/...
|
run: go test -timeout 15m -v ./... -coverprofile=./coverage.txt -covermode=atomic -coverpkg=./pkg...,./cli/...
|
||||||
|
|
||||||
- name: Upload coverage results to Codecov
|
- name: Upload coverage results to Codecov
|
||||||
uses: codecov/codecov-action@v3
|
uses: codecov/codecov-action@v4
|
||||||
with:
|
with:
|
||||||
fail_ci_if_error: true # if something is wrong on uploading codecov results, then this job will fail
|
fail_ci_if_error: true # if something is wrong on uploading codecov results, then this job will fail
|
||||||
files: ./coverage.txt
|
files: ./coverage.txt
|
||||||
|
slug: nspcc-dev/neo-go
|
||||||
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
verbose: true
|
verbose: true
|
||||||
|
|
||||||
tests:
|
tests:
|
||||||
|
|
Loading…
Reference in a new issue