fix(ci): update cargo-tarpaulin installation command

This commit is contained in:
Orhun Parmaksız 2023-01-29 16:52:29 +03:00
parent 695bb738cd
commit e82914f0f1
No known key found for this signature in database
GPG key ID: F83424824B3E4B90

View file

@ -43,7 +43,7 @@ jobs:
- name: Setup cargo-tarpaulin - name: Setup cargo-tarpaulin
run: | run: |
curl -s https://api.github.com/repos/xd009642/tarpaulin/releases/latest | \ curl -s https://api.github.com/repos/xd009642/tarpaulin/releases/latest | \
grep "browser_download_url.*tar.gz" | cut -d : -f 2,3 | tr -d \" | wget -qi - 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 tar -xzf cargo-tarpaulin-*.tar.gz
mv cargo-tarpaulin ~/.cargo/bin/ mv cargo-tarpaulin ~/.cargo/bin/
- name: Run tests - name: Run tests