Skip to content

Commit 9398a28

Browse files
committed
Test docs.rs documentation build in CI
1 parent 8737173 commit 9398a28

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,20 @@ jobs:
5151
- run: cargo generate-lockfile -Z minimal-versions
5252
- run: cargo check --locked
5353

54+
doc:
55+
name: Documentation
56+
needs: pre_ci
57+
if: needs.pre_ci.outputs.continue
58+
runs-on: ubuntu-latest
59+
timeout-minutes: 45
60+
env:
61+
RUSTDOCFLAGS: -Dwarnings
62+
steps:
63+
- uses: actions/checkout@v4
64+
- uses: dtolnay/rust-toolchain@nightly
65+
- uses: dtolnay/install@cargo-docs-rs
66+
- run: cargo docs-rs
67+
5468
clippy:
5569
name: Clippy
5670
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)