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 9383869
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,13 +191,17 @@ jobs:
run: zypper --non-interactive install rustup

- name: Install required packages
run: zypper --non-interactive install python-langtable-data openssl-3 libopenssl-3-devel
run: zypper --non-interactive install python-langtable-data openssl-3 libopenssl-3-devel jq

- name: Install Rust toolchains
run: rustup toolchain install stable

- uses: taiki-e/install-action@v2
with:
tool: cargo-binstall

- name: Install Tarpaulin (for code coverage)
run: cargo install cargo-tarpaulin
run: cargo-binstall --no-confirm cargo-tarpaulin

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

0 comments on commit 9383869

Please sign in to comment.