From 5ead335d47cddc99a7f73378ad5ce4ee57356190 Mon Sep 17 00:00:00 2001 From: Pascal Seitz Date: Wed, 13 Apr 2022 11:49:21 +0800 Subject: [PATCH] fix coverage --- .github/workflows/coverage.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 4b4b6e3cf2..b13e17efd8 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -13,10 +13,9 @@ jobs: - uses: actions/checkout@v3 - name: Install Rust run: rustup toolchain install nightly --component llvm-tools-preview - - name: Install cargo-llvm-cov - run: curl -LsSf https://github.com/taiki-e/cargo-llvm-cov/releases/latest/download/cargo-llvm-cov-x86_64-unknown-linux-gnu.tar.gz | tar xzf - -C ~/.cargo/bin + - uses: taiki-e/install-action@cargo-llvm-cov - name: Generate code coverage - run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info + run: cargo +nightly llvm-cov --all-features --workspace --lcov --output-path lcov.info - name: Upload coverage to Codecov uses: codecov/codecov-action@v2 with: