diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 1af85ff75a..835d0d4254 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