Fix CI on MSRV check

This commit is contained in:
Yuki Okushi 2020-08-05 08:10:59 +09:00
parent 235a76dcd4
commit d692ffd3e4
No known key found for this signature in database
GPG Key ID: B0986C85C0E2DAA1
1 changed files with 4 additions and 2 deletions

View File

@ -65,7 +65,7 @@ jobs:
- name: Generate coverage file
if: matrix.version == 'stable' && (github.ref == 'refs/heads/master' || github.event_name == 'pull_request')
run: |
which cargo-tarpaulin || cargo install cargo-tarpaulin
cargo install cargo-tarpaulin
cargo tarpaulin --out Xml --workspace --all-features
- name: Upload to Codecov
@ -76,5 +76,7 @@ jobs:
- name: Clear the cargo caches
run: |
which cargo-cache || cargo install cargo-cache --no-default-features --features ci-autoclean
rustup update stable
rustup override set stable
cargo install cargo-cache --no-default-features --features ci-autoclean
cargo-cache