From 613f1cd73d792efc1011165bb4356463503cf8b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Orhun=20Parmaks=C4=B1z?= Date: Tue, 19 Sep 2023 13:58:15 +0300 Subject: [PATCH] fix(ci): use the correct arguments for cargo-tarpaulin --- .github/workflows/ci.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c4425430..7ed66275 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,13 +31,9 @@ jobs: - name: Install Rust toolchain uses: dtolnay/rust-toolchain@stable - name: Setup cargo-tarpaulin - run: | - curl -s https://api.github.com/repos/xd009642/tarpaulin/releases/latest | \ - grep "browser_download_url.*x86_64-unknown-linux-musl.tar.gz" | cut -d : -f 2,3 | tr -d \" | wget -qi - - tar -xzf cargo-tarpaulin-*.tar.gz - mv cargo-tarpaulin ~/.cargo/bin/ + uses: taiki-e/install-action@cargo-tarpaulin - name: Run tests - run: cargo tarpaulin --out Xml --verbose -- --test-threads 1 + run: cargo tarpaulin --out xml --verbose -- --test-threads 1 - name: Upload reports to codecov uses: codecov/codecov-action@v3 with: