Skip to content

Commit c402280

Browse files
committed
chore(ci): use cargo-hack --no-dev-deps option to check without dev-dependencies
1 parent 2880f6c commit c402280

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,13 +147,13 @@ jobs:
147147
uses: actions/checkout@v4
148148

149149
- name: Install Rust
150-
uses: dtolnay/rust-toolchain@nightly
150+
uses: dtolnay/rust-toolchain@stable
151151

152152
- name: Install cargo-hack
153153
run: cargo install cargo-hack
154154

155155
- name: check --feature-powerset
156-
run: cargo hack check --feature-powerset --depth 2 --skip ffi -Z avoid-dev-deps
156+
run: cargo hack --no-dev-deps check --feature-powerset --depth 2 --skip ffi
157157

158158
deprecated:
159159
name: Check deprecated on ${{ matrix.rust }}

0 commit comments

Comments
 (0)