Skip to content

Commit 72db864

Browse files
authored
fix(ci): Codecov (#458)
Updating codecov
1 parent 5395388 commit 72db864

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,13 @@ jobs:
5656
- name: Test
5757
run: |
5858
go test -parallel 20 -v -race -coverprofile=coverage.txt -covermode=atomic ./...
59-
bash <(curl -s https://codecov.io/bash)
59+
60+
- name: Codecov
61+
uses: codecov/[email protected]
62+
with:
63+
fail_ci_if_error: true # optional (default = false)
64+
env:
65+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
6066

6167
# For github to have a unique status check name
6268
build-status:

0 commit comments

Comments
 (0)