mirror of
https://github.com/openharmony/third_party_rust_slab.git
synced 2026-07-01 20:44:01 -04:00
Make installation of cargo-hack faster and robust
Use taiki-e/install-action to install prebuilt binaries.
This commit is contained in:
@@ -22,7 +22,7 @@ jobs:
|
||||
- name: Install Rust
|
||||
run: rustup update stable
|
||||
- name: Install cargo-hack
|
||||
run: cargo install cargo-hack
|
||||
uses: taiki-e/install-action@cargo-hack
|
||||
- run: cargo hack build --feature-powerset --optional-deps --no-dev-deps
|
||||
- run: cargo test --all-features
|
||||
|
||||
|
||||
Reference in New Issue
Block a user