Skip to content

Commit

Permalink
ci: use codecov/[email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
pilinux committed Mar 3, 2024
1 parent 0c2b51c commit c74b57b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,12 @@ jobs:
if: github.event_name == 'push'
run: go test -v -cover -coverprofile=coverage.txt -covermode=atomic ./...

- name: Upload coverage to Codecov
- name: Upload coverage reports to Codecov
if: github.event_name == 'push'
run: bash <(curl -s https://codecov.io/bash)
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: pilinux/argon2

- name: Update Go report card
if: github.event_name == 'push'
Expand Down

0 comments on commit c74b57b

Please sign in to comment.