Skip to content

Commit

Permalink
chore: Use cargo-no-dev-deps to check msrv (#1570)
Browse files Browse the repository at this point in the history
  • Loading branch information
tottoto authored Jun 10, 2024
1 parent 96a8cbc commit dfa0893
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 @@ -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"

Expand Down

0 comments on commit dfa0893

Please sign in to comment.