Skip to content

Commit 9666798

Browse files
committed
Changed cargo-tarpaulin install and run
1 parent b58dd6c commit 9666798

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

.github/workflows/coverall.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,22 @@ jobs:
1010
- name: Install Rust (Stable)
1111
run:
1212
curl https://sh.rustup.rs -sSf | sh -s -- -y
13+
- name: Install cargo-tarpaulin
14+
uses: taiki-e/install-action@v2
15+
with:
16+
tool: cargo-tarpaulin@0.32.8
17+
1318
- name: Create config folder
1419
run: sudo mkdir -p /etc/fim/ && sudo chown -R runner:runner /etc/fim
1520
- name: Create events file and folder
1621
run: sudo mkdir -p /var/lib/fim/ && sudo touch /var/lib/fim/events.json && sudo chown -R runner:runner /var/lib/fim
1722
- name: Create log file and folder
1823
run: sudo mkdir -p /var/log/fim/ && sudo touch /var/log/fim/fim.log && sudo chown -R runner:runner /var/log/fim
24+
1925
- name: Run cargo-tarpaulin
20-
uses: actions-rs/tarpaulin@v0.1
21-
with:
22-
version: 0.32.8
23-
args: '--all-features --out Lcov --exclude-files src/main.rs src/monitor.rs src/init.rs'
26+
run: |
27+
rustup run stable cargo tarpaulin --all-features --out Lcov --exclude-files src/main.rs src/monitor.rs src/init.rs
28+
2429
- name: upload to Coveralls
2530
uses: coverallsapp/github-action@master
2631
with:

0 commit comments

Comments
 (0)