Skip to content

Commit

Permalink
workflows: use Codecov action to upload profile
Browse files Browse the repository at this point in the history
It's supposed to be a bit faster at least.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
  • Loading branch information
roman-khimov committed Apr 21, 2024
1 parent 88e708a commit 8619325
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,14 @@ jobs:
- name: Tests
run: go test -coverprofile=coverage.txt -covermode=atomic ./...

- name: Codecov
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
run: bash <(curl -s https://codecov.io/bash)
- name: Upload coverage results to Codecov
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
files: ./coverage.txt
slug: nspcc-dev/dbft
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true

codeql:
name: CodeQL
Expand Down

0 comments on commit 8619325

Please sign in to comment.