Skip to content

Commit 403022f

Browse files
authored
Update codecov-action to v4 (pypa#4273)
2 parents 2d25aa2 + d377ff7 commit 403022f

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
@@ -105,14 +105,15 @@ jobs:
105105
run: pipx run coverage xml --ignore-errors
106106
- name: Publish coverage
107107
if: hashFiles('coverage.xml') != '' # Rudimentary `file.exists()`
108-
uses: codecov/codecov-action@v3
108+
uses: codecov/codecov-action@v4
109109
with:
110110
flags: >- # Mark which lines are covered by which envs
111111
CI-GHA,
112112
${{ github.job }},
113113
OS-${{ runner.os }},
114114
VM-${{ matrix.platform }},
115115
Py-${{ steps.python-install.outputs.python-version }}
116+
token: ${{ secrets.CODECOV_TOKEN }}
116117

117118
collateral:
118119
strategy:
@@ -195,7 +196,7 @@ jobs:
195196
shell: C:\cygwin\bin\env.exe CYGWIN_NOWINPATH=1 CHERE_INVOKING=1 C:\cygwin\bin\bash.exe -leo pipefail -o igncr {0}
196197
- name: Publish coverage
197198
if: hashFiles('coverage.xml') != '' # Rudimentary `file.exists()`
198-
uses: codecov/codecov-action@v3
199+
uses: codecov/codecov-action@v4
199200
with:
200201
files: >-
201202
${{ github.workspace }}\coverage.xml
@@ -205,6 +206,7 @@ jobs:
205206
OS-${{ runner.os }},
206207
VM-${{ matrix.platform }},
207208
Py-${{ steps.python-install.outputs.python-version }}
209+
token: ${{ secrets.CODECOV_TOKEN }}
208210

209211
integration-test:
210212
needs: test

0 commit comments

Comments
 (0)