From e7bd00bb4de1622a8ab470d70f7dbf72d70ad32d 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 06bf43629..7aaba212a 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -89,13 +89,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"