ci: fix CI for 1.18.x branch (#5728)

Some of these changes will be progressively reverted as we merge this
into newer branches.
This commit is contained in:
Alice Ryhl
2023-05-27 15:05:34 +02:00
parent 171ce0ff8d
commit 2a180188c6
3 changed files with 41 additions and 7 deletions
+3 -3
View File
@@ -62,7 +62,7 @@ jobs:
run: rustup update stable
- uses: Swatinem/rust-cache@v1
- name: Install cargo-hack
run: cargo install cargo-hack
run: cargo install cargo-hack --version 0.5.26
# Run `tokio` with `full` features. This excludes testing utilities which
# can alter the runtime behavior of Tokio.
@@ -263,7 +263,7 @@ jobs:
override: true
- uses: Swatinem/rust-cache@v1
- name: Install cargo-hack
run: cargo install cargo-hack
run: cargo install cargo-hack --version 0.5.26
- name: check --each-feature
run: cargo hack check --all --each-feature -Z avoid-dev-deps
# Try with unstable feature flags
@@ -299,7 +299,7 @@ jobs:
override: true
- uses: Swatinem/rust-cache@v1
- name: Install cargo-hack
run: cargo install cargo-hack
run: cargo install cargo-hack --version 0.5.26
- name: "check --all-features -Z minimal-versions"
run: |
# Remove dev-dependencies from Cargo.toml to prevent the next `cargo update`