Skip to content

Commit c35cf78

Browse files
committed
Codecov pull request checks: use non-deprecated v2 version of action
As documented on https://github.com/codecov/codecov-action, v1 of Codecov's GitHub action will cease to function on 2022-02-01. Given that we do not seem to use any advanced flags, the migration should not require changes. It does, however, permit one change: as CBMC is a public project, a token isn't even necessary for the upload.
1 parent 360c01d commit c35cf78

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/pull-request-checks.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -706,9 +706,8 @@ jobs:
706706
lcov --capture --directory build --output-file lcov.info
707707
lcov --remove lcov.info '/usr/*' --output-file lcov.info
708708
- name: Upload coverage statistics to Codecov
709-
uses: codecov/codecov-action@v1
709+
uses: codecov/codecov-action@v2
710710
with:
711-
token: ${{ secrets.CODECOV_TOKEN }}
712711
files: ./lcov.info
713712
fail_ci_if_error: true
714713
verbose: true

0 commit comments

Comments
 (0)