Skip to content

Commit 8f11def

Browse files
authored
Upgrade Codecov actions to version 5
1 parent c1ccf54 commit 8f11def

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/test.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,14 +125,18 @@ jobs:
125125
run: bash ./scripts/coverage.sh
126126

127127
- name: Upload coverage
128-
uses: codecov/codecov-action@v4
128+
uses: codecov/codecov-action@v5
129129
with:
130130
token: ${{ secrets.CODECOV_TOKEN }}
131-
file: ./coverage/cobertura.xml
131+
files: ./coverage/cobertura.xml
132+
fail_ci_if_error: true
132133

133134
- name: Upload test results
134135
if: ${{ !cancelled() }}
135-
uses: codecov/test-results-action@v1
136+
uses: codecov/codecov-action@v5
136137
with:
137138
token: ${{ secrets.CODECOV_TOKEN }}
138-
file: ./coverage/junit.xml
139+
report_type: test_results
140+
files: ./coverage/junit.xml
141+
fail_ci_if_error: true
142+

0 commit comments

Comments
 (0)