From 76b34033e15ba281f54bb6a56af970badd3cd913 Mon Sep 17 00:00:00 2001 From: tottoto Date: Thu, 12 Oct 2023 04:08:44 +0900 Subject: [PATCH] chore(ci): use cargo-hack --no-dev-deps option to check without dev-dependencies (#3342) --- .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)