File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -308,9 +308,18 @@ jobs:
308308 - uses : Swatinem/rust-cache@v2
309309 # we exlude crates that do not use rust-version = { workspace = true }
310310 - run : cargo no-dev-deps --no-private check --all-features --workspace --exclude grpc --exclude tonic-protobuf\*
311- - run : cargo no-dev-deps --no-private doc --no-deps --all-features --workspace --exclude grpc --exclude tonic-protobuf\*
312- env :
313- RUSTDOCFLAGS : " -D warnings"
311+
312+ doc :
313+ runs-on : ubuntu-latest
314+ steps :
315+ - uses : actions/checkout@v5
316+ - uses : dtolnay/rust-toolchain@nightly
317+ - uses : dtolnay/install@cargo-docs-rs
318+ - uses : taiki-e/install-action@cargo-hack
319+ - uses : Swatinem/rust-cache@v2
320+ - run : cargo +nightly hack --no-private docs-rs
321+ env :
322+ RUSTDOCFLAGS : " -D warnings"
314323
315324 test :
316325 runs-on : ${{ matrix.os }}
You can’t perform that action at this time.
0 commit comments