Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix ci #5999

Merged
merged 12 commits into from
Sep 18, 2023
Prev Previous commit
Next Next commit
use action to install cargo-hack
maminrayej committed Sep 13, 2023
commit 147326d8b7b8a85d79dd87111fdf5aca5372d5fb
16 changes: 12 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -71,7 +71,9 @@ jobs:
run: rustup update stable
- uses: Swatinem/rust-cache@v1
- name: Install cargo-hack
run: cargo install cargo-hack --version 0.3.0
uses: taiki-e/install-action@v2
with:
tool: [email protected]

# Run `tokio` with `full` features. This excludes testing utilities which
# can alter the runtime behavior of Tokio.
@@ -274,7 +276,9 @@ jobs:
override: true
- uses: Swatinem/rust-cache@v1
- name: Install cargo-hack
run: cargo install cargo-hack --version 0.3.0
uses: taiki-e/install-action@v2
with:
tool: [email protected]
- name: check --each-feature
run: cargo hack check --all --each-feature -Z avoid-dev-deps
# Try with unstable feature flags
@@ -310,7 +314,9 @@ jobs:
override: true
- uses: Swatinem/rust-cache@v1
- name: Install cargo-hack
run: cargo install cargo-hack --version 0.3.0
uses: taiki-e/install-action@v2
with:
tool: [email protected]
- name: "check --all-features -Z minimal-versions"
run: |
# Remove dev-dependencies from Cargo.toml to prevent the next `cargo update`
@@ -462,7 +468,9 @@ jobs:

# Install dependencies
- name: Install cargo-hack
run: cargo install cargo-hack
uses: taiki-e/install-action@v2
with:
tool: cargo-hack

- name: Install wasm32-wasi target
run: rustup target add wasm32-wasi