diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8f60f52..1ff436d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,10 +45,9 @@ jobs: - name: Generate code coverage run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info - - name: Coveralls - uses: coverallsapp/github-action@v2 + - uses: codecov/codecov-action@v4.0.1 with: - parallel: false + token: ${{ secrets.CODECOV_TOKEN }} - run: cargo publish --token ${CRATES_TOKEN} if: startsWith(github.ref, 'refs/tags/') diff --git a/README.md b/README.md index e95af09..2a0ec03 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ [![Crates.io][crates-image]][crates-url] [![docs.rs][docsrs-image]][docsrs-url] -[![Coveralls][coveralls-image]][coveralls-url] [![CI Build][github-actions-image]][github-actions-url] +[![Coverage][coverage-image]][coverage-url] [![CI Build][github-actions-image]][github-actions-url] ## protontweaks-api-rs @@ -8,10 +8,8 @@ Rust api for interacting with https://api.protontweaks.com [github-actions-image]: https://img.shields.io/github/actions/workflow/status/rain-cafe/protontweaks-api-rs/ci.yml?event=push [github-actions-url]: https://github.com/rain-cafe/protontweaks-api-rs/actions/workflows/ci.yml?query=branch%3Amain -[coveralls-image]: https://img.shields.io/coveralls/rain-cafe/protontweaks-api-rs.svg -[coveralls-url]: https://coveralls.io/github/rain-cafe/protontweaks-api-rs?branch=main -[maintainability-image]: https://img.shields.io/codeclimate/maintainability/rain-cafe/protontweaks-api-rs -[maintainability-url]: https://codeclimate.com/github/rain-cafe/protontweaks-api-rs/maintainability +[coverage-image]: https://img.shields.io/codecov/c/github/rain-cafe/protontweaks-api-rs +[coverage-url]: https://app.codecov.io/gh/rain-cafe/protontweaks-api-rs [crates-image]: https://img.shields.io/crates/v/protontweaks-api.svg [crates-url]: https://crates.io/crates/protontweaks-api [docsrs-image]: https://docs.rs/protontweaks-api/badge.svg