From 95f8d53ac158d81433f6a49cf0794d92b0eb21ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Orhun=20Parmaks=C4=B1z?= Date: Sun, 24 Sep 2023 19:06:53 +0300 Subject: [PATCH] refactor(ci): simplify cargo-tarpaulin installation --- .github/workflows/ci.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 69f06a36cf..0f185dfc01 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,11 +48,7 @@ jobs: ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 0 - 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 - name: Upload reports to codecov