Merge pull request #3409 from nspcc-dev/update-codecov

workflows: update CodeCov action, use token for upload
This commit is contained in:
Anna Shaleva 2024-04-09 14:56:34 +03:00 committed by GitHub
commit ee1ee56f97
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -107,10 +107,12 @@ jobs:
run: go test -timeout 15m -v ./... -coverprofile=./coverage.txt -covermode=atomic -coverpkg=./pkg...,./cli/...
- name: Upload coverage results to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true # if something is wrong on uploading codecov results, then this job will fail
files: ./coverage.txt
slug: nspcc-dev/neo-go
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
tests: