From ed4b708c66c7032eeb0198ff81663df41e4d9406 Mon Sep 17 00:00:00 2001 From: Yuki Okushi Date: Wed, 5 Aug 2020 09:02:41 +0900 Subject: [PATCH] Fix CI on MSRV check (#171) --- .github/workflows/linux.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 1af85ff7..835d0d42 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -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