install cargo-tarpaulin via cargo-binstall (#2220)

This commit is contained in:
Teodor Tanasoaia 2023-01-25 19:21:24 +01:00 committed by GitHub
parent c7d02151f0
commit fe9db5dd8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,10 +13,14 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Generate report
uses: actions-rs/tarpaulin@v0.1
- name: Install binstall
uses: taiki-e/install-action@v2
with:
args: '--tests --all-features --workspace'
tool: cargo-binstall
- name: Install cargo-tarpaulin
run: cargo binstall --no-confirm cargo-tarpaulin
- name: Generate report
run: cargo tarpaulin --tests --all-features --workspace --out Xml
- name: Upload to codecov.io
uses: codecov/codecov-action@v1
with: