Skip to content

Commit 2e8b9ed

Browse files
committed
chore: Use cargo-no-dev-deps to check msrv
1 parent d4a1332 commit 2e8b9ed

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Diff for: .github/workflows/CI.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,14 @@ jobs:
9191
- uses: hecrj/setup-rust-action@v2
9292
with:
9393
rust-version: "1.70" # msrv
94+
- uses: taiki-e/install-action@cargo-no-dev-deps
9495
- name: Install protoc
9596
uses: taiki-e/install-action@v2
9697
with:
9798
tool: protoc@${{ env.PROTOC_VERSION }}
9899
- uses: Swatinem/rust-cache@v2
99-
- run: cargo check --workspace --all-targets --all-features
100-
- run: cargo doc --no-deps --package tonic --package tonic-build --package tonic-health --package tonic-reflection --package tonic-types --package tonic-web
100+
- run: cargo no-dev-deps --no-private check --all-features
101+
- run: cargo no-dev-deps --no-private doc --no-deps
101102
env:
102103
RUSTDOCFLAGS: "-D warnings"
103104

0 commit comments

Comments
 (0)