Skip to content

Commit 605b77c

Browse files
committed
Use stable compiler to installing cargo-hack
1 parent c839675 commit 605b77c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
run: rustup update ${{ matrix.rust }} && rustup default ${{ matrix.rust }}
5353
# cargo does not support for --features/--no-default-features with workspace, so use cargo-hack instead.
5454
# Refs: cargo#3620, cargo#4106, cargo#4463, cargo#4753, cargo#5015, cargo#5364, cargo#6195
55-
- run: cargo install cargo-hack
55+
- run: cargo +stable install cargo-hack
5656
# remove dev-dependencies to avoid https://github.com/rust-lang/cargo/issues/4866
5757
- run: cargo hack --remove-dev-deps --workspace
5858
# Check no-default-features
@@ -81,7 +81,7 @@ jobs:
8181
- uses: actions/checkout@v2
8282
- name: Install Rust
8383
run: rustup update ${{ matrix.rust }} && rustup default ${{ matrix.rust }}
84-
- run: cargo install cargo-hack
84+
- run: cargo +stable install cargo-hack
8585
# remove dev-dependencies to avoid https://github.com/rust-lang/cargo/issues/4866
8686
- run: cargo hack --remove-dev-deps --workspace
8787
# Check no-default-features
@@ -108,7 +108,7 @@ jobs:
108108
- uses: actions/checkout@v2
109109
- name: Install Rust
110110
run: rustup update ${{ matrix.rust }} && rustup default ${{ matrix.rust }}
111-
- run: cargo install cargo-hack
111+
- run: cargo +stable install cargo-hack
112112
- run: cargo hack build --workspace --no-dev-deps
113113

114114
build:

0 commit comments

Comments
 (0)