Skip to content

Commit fcdede1

Browse files
committed
Replace deprecated Codecov bash uploader with official GitHub Action
The bash uploader now requires a token and is deprecated. Using codecov/codecov-action@v5 which handles authentication automatically for public repos via GitHub OIDC.
1 parent 5bd1367 commit fcdede1

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/verify-build.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -665,8 +665,9 @@ jobs:
665665
sleep 5 && ab -n 1000000 -c 100 127.0.0.1:8080/plaintext
666666
if: ${{ matrix.build-type == 'threads' }}
667667

668-
- name: Push code coverage data
669-
run: |
670-
cd build ;
671-
bash <(curl -s https://codecov.io/bash) ;
668+
- name: Upload coverage to Codecov
669+
uses: codecov/codecov-action@v5
670+
with:
671+
directory: build
672+
fail_ci_if_error: false
672673
if: ${{ matrix.os-type == 'ubuntu' && matrix.c-compiler == 'gcc' && matrix.debug == 'debug' && matrix.coverage == 'coverage' && success() }}

0 commit comments

Comments
 (0)