From d58f143e5be138399d8397063a038b75dac00e5d Mon Sep 17 00:00:00 2001 From: Ashley Anderson Date: Wed, 19 Jan 2022 04:04:59 -0500 Subject: [PATCH] Pin rust nightly to older version to work around bug in coverage. --- .github/workflows/ci.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8d3a8c43..fd3b294d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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