Skip to content

Commit

Permalink
chore: Use cargo-no-dev-deps to check msrv
Browse files Browse the repository at this point in the history
  • Loading branch information
tottoto committed Nov 15, 2023
1 parent 07e4ee1 commit 383d32d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,14 @@ jobs:
- uses: hecrj/setup-rust-action@v2
with:
rust-version: "1.65" # 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"

Expand Down

0 comments on commit 383d32d

Please sign in to comment.