CI: Update tarpaulin and use Coveralls' action
@@ -185,12 +185,15 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: install
- args: cargo-tarpaulin --version 0.18.0-alpha3 # @TODO restore to normal (https://github.com/xd009642/tarpaulin/issues/756#issuecomment-838769320)
+ args: cargo-tarpaulin
- name: Run cargo tarpaulin
uses: actions-rs/cargo@v1
- env:
- TOKEN: ${{ secrets.COVERALLS_TOKEN }}
with:
command: tarpaulin
- args: --coveralls "$TOKEN" --avoid-cfg-tarpaulin # @TODO restore to normal (https://github.com/xd009642/tarpaulin/issues/756#issuecomment-838769320)
+ args: --output-dir coverage --out Lcov
+
+ - name: Publish to Coveralls
+ uses: coverallsapp/github-action@master
+ with:
+ github-token: ${{ secrets.GITHUB_TOKEN }}
