Skip to content

Commit 9858402

Browse files
authored
feat: fix cargo-tarpaulin run failed issue in CI (#357)
* fix: fix cargo-tarpaulin run failed * fix: disable default features in cargo-tarpaulin ci
1 parent d7c93e8 commit 9858402

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/coverage.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,14 @@ jobs:
2222
toolchain: stable
2323
override: true
2424

25-
- name: Run cargo-tarpaulin
26-
uses: actions-rs/[email protected]
25+
- name: Install cargo-tarpaulin
26+
uses: baptiste0928/cargo-install@v3
2727
with:
28-
version: '0.22.0'
29-
args: --no-default-features --features runtime-async-std,cached,glob,ip,watcher,logging,incremental,explain
28+
crate: cargo-tarpaulin
29+
30+
- name: Run cargo-tarpaulin
31+
run: |
32+
cargo tarpaulin --no-default-features --features runtime-async-std,cached,glob,ip,watcher,logging,incremental,explain
3033
3134
- name: Upload to codecov.io
3235
uses: codecov/codecov-action@v1

0 commit comments

Comments
 (0)