Skip to content

Commit

Permalink
Only install cargo-tarpaulin when actually used
Browse files Browse the repository at this point in the history
  • Loading branch information
svenstaro committed Apr 5, 2024
1 parent 081b685 commit 05c7d5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:
- name: Setup Rust toolchain
uses: dtolnay/rust-toolchain@stable
- uses: actions/checkout@v4
- run: cargo install cargo-tarpaulin
- run: cargo build --all
- run: cargo fmt --all -- --check
- run: cargo clippy -- -D warnings
- run: cargo test --all -- --test-threads 1
- run: |
cargo install cargo-tarpaulin
cargo tarpaulin --out Xml
bash <(curl -s https://codecov.io/bash)
if: matrix.os == 'ubuntu-latest' && matrix.rust == 'nightly' && matrix.target == 'native'
if: matrix.os == 'ubuntu-latest'

0 comments on commit 05c7d5a

Please sign in to comment.