From 1d0b22946387b7cc375d88b05281af6ec01e1607 Mon Sep 17 00:00:00 2001 From: tottoto Date: Thu, 16 Nov 2023 07:15:51 +0900 Subject: [PATCH] chore: Use cargo-no-dev-deps to check msrv --- .github/workflows/CI.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 6132d42d1..4f3087eea 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -91,13 +91,14 @@ jobs: - uses: hecrj/setup-rust-action@v2 with: rust-version: "1.70" # msrv + - uses: taiki-e/install-action@cargo-no-dev-deps - name: Install protoc uses: taiki-e/install-action@v2 with: tool: protoc@${{ env.PROTOC_VERSION }} - uses: Swatinem/rust-cache@v2 - - run: cargo check --workspace --all-targets --all-features - - run: cargo doc --no-deps --package tonic --package tonic-build --package tonic-health --package tonic-reflection --package tonic-types --package tonic-web + - run: cargo no-dev-deps --no-private check --all-features + - run: cargo no-dev-deps --no-private doc --no-deps env: RUSTDOCFLAGS: "-D warnings"