From 0ac0e615cbdd5a2edf3217e63483aed43ad02485 Mon Sep 17 00:00:00 2001 From: tottoto Date: Thu, 12 Oct 2023 03:13:23 +0900 Subject: [PATCH] chore(ci): use cargo-hack --no-dev-deps option to check without dev-dependencies --- .github/workflows/CI.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index f83dcc3801..43891ee66d 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -139,13 +139,13 @@ jobs: uses: actions/checkout@v4 - name: Install Rust - uses: dtolnay/rust-toolchain@nightly + uses: dtolnay/rust-toolchain@stable - name: Install cargo-hack uses: taiki-e/install-action@cargo-hack - name: check --feature-powerset - run: cargo hack check --feature-powerset --depth 2 --skip ffi,tracing -Z avoid-dev-deps + run: cargo hack --no-dev-deps check --feature-powerset --depth 2 --skip ffi,tracing ffi: name: Test C API (FFI)