Skip to content

Commit cf0b15b

Browse files
committed
Update Codecov action to v5 and streamline coverage upload step
1 parent edf2c13 commit cf0b15b

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,12 @@ jobs:
4747
if: matrix.os == 'ubuntu-latest' && matrix.php == '9.0'
4848

4949
- name: Upload Coverage to Codecov
50-
uses: codecov/codecov-action@v4
51-
if: matrix.os == 'ubuntu-latest' && matrix.php == '9.0'
50+
uses: codecov/codecov-action@v5
51+
if: matrix.os == 'ubuntu-latest' && matrix.php == '8.5'
5252
with:
53+
token: ${{ secrets.CODECOV_TOKEN }}
5354
files: clover.xml
54-
fail_ci_if_error: false
55+
fail_ci_if_error: true
5556

5657
- name: Run Test Suite (Pest)
5758
run: ./vendor/bin/pest --compact

0 commit comments

Comments
 (0)