diff options
author | Orhun Parmaksız <orhunparmaksiz@gmail.com> | 2023-09-19 13:01:29 +0300 |
---|---|---|
committer | Orhun Parmaksız <orhunparmaksiz@gmail.com> | 2023-09-19 13:01:29 +0300 |
commit | 52aaf33d17006b425022ab8be672b4c3dcb1bdd8 (patch) | |
tree | 915ef3f34f4434c27b83229632e1591aff3e6234 | |
parent | a5f0cab8643185c17bfd4c5ee3e4607989c49cf9 (diff) |
refactor(ci): simplify the installation of cargo-tarpaulin
-rw-r--r-- | .github/workflows/ci.yml | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 463e958..f100782 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -75,12 +75,7 @@ jobs: uses: Swatinem/rust-cache@v2 - name: Setup cargo-tarpaulin - shell: bash - 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 [default] run: | |