Merge pull request #2111 from aganders3/ci-pin-coverage

ci: pin rust nightly for coverage step
This commit is contained in:
David Hewitt 2022-01-19 22:09:59 +00:00 committed by GitHub
commit 91648b2315
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 7 deletions

View File

@ -253,7 +253,9 @@ jobs:
continue-on-error: true
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
# TODO: this is pinned to work around a rustc bug in instrumented coverage
# https://github.com/taiki-e/cargo-llvm-cov/issues/128
toolchain: nightly-2022-01-14
override: true
profile: minimal
components: llvm-tools-preview
@ -264,12 +266,6 @@ jobs:
curl -fsSL https://github.com/taiki-e/cargo-llvm-cov/releases/download/v${CARGO_LLVM_COV_VERSION}/cargo-llvm-cov-"$host".tar.gz | tar xzf - -C ~/.cargo/bin
env:
CARGO_LLVM_COV_VERSION: 0.1.11
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
profile: minimal
components: llvm-tools-preview
- run: |
cargo llvm-cov clean --workspace
cargo llvm-cov --package $ALL_PACKAGES --no-report