From a8e5549b3f587f66a5c3180c52d73e708511a917 Mon Sep 17 00:00:00 2001 From: Valentin Tolmer Date: Thu, 31 Mar 2022 16:29:03 +0200 Subject: [PATCH] github: Simplify the coverage action --- .github/workflows/rust.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index a912f86..5070036 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -105,13 +105,10 @@ jobs: - 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 - uses: Swatinem/rust-cache@v1 - - name: clean - run: cargo llvm-cov clean --workspace - name: Generate code coverage for unit test run: cargo llvm-cov --workspace --no-report - name: Aggregate reports