Skip to content

Commit d377ff7

Browse files
committed
Update codecov/codecov-action to v4
1 parent 6ee23bf commit d377ff7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,14 +100,15 @@ jobs:
100100
run: pipx run coverage xml --ignore-errors
101101
- name: Publish coverage
102102
if: hashFiles('coverage.xml') != '' # Rudimentary `file.exists()`
103-
uses: codecov/codecov-action@v3
103+
uses: codecov/codecov-action@v4
104104
with:
105105
flags: >- # Mark which lines are covered by which envs
106106
CI-GHA,
107107
${{ github.job }},
108108
OS-${{ runner.os }},
109109
VM-${{ matrix.platform }},
110110
Py-${{ steps.python-install.outputs.python-version }}
111+
token: ${{ secrets.CODECOV_TOKEN }}
111112

112113
collateral:
113114
strategy:
@@ -190,7 +191,7 @@ jobs:
190191
shell: C:\cygwin\bin\env.exe CYGWIN_NOWINPATH=1 CHERE_INVOKING=1 C:\cygwin\bin\bash.exe -leo pipefail -o igncr {0}
191192
- name: Publish coverage
192193
if: hashFiles('coverage.xml') != '' # Rudimentary `file.exists()`
193-
uses: codecov/codecov-action@v3
194+
uses: codecov/codecov-action@v4
194195
with:
195196
files: >-
196197
${{ github.workspace }}\coverage.xml
@@ -200,6 +201,7 @@ jobs:
200201
OS-${{ runner.os }},
201202
VM-${{ matrix.platform }},
202203
Py-${{ steps.python-install.outputs.python-version }}
204+
token: ${{ secrets.CODECOV_TOKEN }}
203205

204206
integration-test:
205207
needs: test

0 commit comments

Comments
 (0)