Skip to content

Commit 1811c6f

Browse files
authored
github: update codecov with token and fail_ci_if_error (#7348)
1 parent 3e78e9b commit 1811c6f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/coverage.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,7 @@ jobs:
2020
run: go test -coverprofile=coverage.out -coverpkg=./... ./...
2121

2222
- name: Upload coverage to Codecov
23-
uses: codecov/codecov-action@v3
23+
uses: codecov/codecov-action@v4
24+
with:
25+
token: ${{ secrets.CODECOV_TOKEN }}
26+
fail_ci_if_error: true

0 commit comments

Comments
 (0)