Skip to content

Commit

Permalink
refactor: Simplify cargo-tarpaulin installation in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Sep 24, 2023
1 parent 77e6492 commit 5fa1ff2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,7 @@ jobs:
run: ./prepare-test-env.sh

- 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 --features gpg-tests
Expand Down

0 comments on commit 5fa1ff2

Please sign in to comment.