Skip to content

Commit 40f05bd

Browse files
Bump codecov/codecov-action from 3 to 4 (#23)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mark Tolmacs <[email protected]>
1 parent 5597854 commit 40f05bd

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,11 @@ jobs:
9494
run: cargo generate-lockfile
9595
- name: cargo llvm-cov
9696
run: cargo llvm-cov -p wasm2map --locked --all-features --lcov --output-path lcov.info
97-
- name: Upload to codecov.io
98-
uses: codecov/codecov-action@v3
97+
- name: Upload test results to Codecov
98+
if: ${{ !cancelled() }}
99+
uses: codecov/test-results-action@v1
99100
with:
100-
fail_ci_if_error: true
101+
token: ${{ secrets.CODECOV_TOKEN }}
101102
coverage-unix:
102103
runs-on: ubuntu-latest
103104
name: ubuntu / stable / coverage
@@ -117,7 +118,8 @@ jobs:
117118
run: cargo generate-lockfile
118119
- name: cargo llvm-cov
119120
run: cargo llvm-cov -p wasm2map --locked --all-features --lcov --output-path lcov.info
120-
- name: Upload to codecov.io
121-
uses: codecov/codecov-action@v3
121+
- name: Upload test results to Codecov
122+
if: ${{ !cancelled() }}
123+
uses: codecov/test-results-action@v1
122124
with:
123-
fail_ci_if_error: true
125+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)