1
0
mirror of https://github.com/fafhrd91/actix-net synced 2024-11-24 02:21:07 +01:00

Fix CI on MSRV check (#171)

This commit is contained in:
Yuki Okushi 2020-08-05 09:02:41 +09:00 committed by GitHub
parent 235a76dcd4
commit ed4b708c66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,7 +65,7 @@ jobs:
- name: Generate coverage file - name: Generate coverage file
if: matrix.version == 'stable' && (github.ref == 'refs/heads/master' || github.event_name == 'pull_request') if: matrix.version == 'stable' && (github.ref == 'refs/heads/master' || github.event_name == 'pull_request')
run: | run: |
which cargo-tarpaulin || cargo install cargo-tarpaulin cargo install cargo-tarpaulin
cargo tarpaulin --out Xml --workspace --all-features cargo tarpaulin --out Xml --workspace --all-features
- name: Upload to Codecov - name: Upload to Codecov
@ -76,5 +76,7 @@ jobs:
- name: Clear the cargo caches - name: Clear the cargo caches
run: | 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 cargo-cache