Skip to content

Commit

Permalink
CI: use cargo-binstall to reduce the build time
Browse files Browse the repository at this point in the history
  • Loading branch information
imobachgs committed Jun 30, 2023
1 parent 0e7d6d9 commit e337db5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,13 @@ jobs:
- name: Install Rust toolchains
run: rustup toolchain install stable

- name: Install cargo-binstall
run: |
curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
echo $HOME/.cargo/bin >> $GITHUB_PATH
- name: Install Tarpaulin (for code coverage)
run: cargo install cargo-tarpaulin
run: cargo-binstall cargo-tarpaulin

- name: Run the tests
run: cargo tarpaulin --out lcov --output-dir coverage
Expand Down

0 comments on commit e337db5

Please sign in to comment.