Skip to content

Commit

Permalink
gh: coveralls: switch to v2
Browse files Browse the repository at this point in the history
The previous version is deprecated, each job using it gets this warning:

  The following actions uses a deprecated Node.js version and will be
  forced to run on node20: coverallsapp/github-action@master. For more
  info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/

We just have to use 'file' instead of 'path-to-lcov' which is
deprecated. No further changes needed: we use the public runners with
ubuntu-latest.

Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>
  • Loading branch information
matttbe committed Oct 24, 2024
1 parent 9c5b481 commit a739403
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
CODE_COVERAGE_OUTPUT_FILE=lcov.info \
CODE_COVERAGE_LCOV_OPTIONS="--no-external --exclude */tests/*"
- name: Coveralls
uses: coverallsapp/github-action@master
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./lcov.info
file: ./lcov.info

0 comments on commit a739403

Please sign in to comment.