Skip to content

Commit

Permalink
Update codecov/codecov-action to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
Avasam committed Mar 16, 2024
1 parent 6ee23bf commit 36ff976
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,9 @@ jobs:
run: pipx run coverage xml --ignore-errors
- name: Publish coverage
if: hashFiles('coverage.xml') != '' # Rudimentary `file.exists()`
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: >- # Mark which lines are covered by which envs
CI-GHA,
${{ github.job }},
Expand Down Expand Up @@ -190,8 +191,9 @@ jobs:
shell: C:\cygwin\bin\env.exe CYGWIN_NOWINPATH=1 CHERE_INVOKING=1 C:\cygwin\bin\bash.exe -leo pipefail -o igncr {0}
- name: Publish coverage
if: hashFiles('coverage.xml') != '' # Rudimentary `file.exists()`
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: >-
${{ github.workspace }}\coverage.xml
flags: >- # Mark which lines are covered by which envs
Expand Down

0 comments on commit 36ff976

Please sign in to comment.