Skip to content

Commit

Permalink
Test docs.rs documentation build in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Sep 24, 2023
1 parent b6e113f commit 57d529b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,16 +103,17 @@ jobs:
- run: cargo clippy --tests -- -Dclippy::all -Dclippy::pedantic
- run: cargo clippy --all-features --tests -- -Dclippy::all -Dclippy::pedantic

docs:
doc:
name: Documentation
runs-on: ubuntu-latest
timeout-minutes: 45
env:
RUSTDOCFLAGS: -Dwarnings
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- run: cargo doc --features raw_value,unbounded_depth
env:
RUSTDOCFLAGS: --cfg docsrs
- uses: dtolnay/install@cargo-docs-rs
- run: cargo docs-rs

fuzz:
name: Fuzz
Expand Down

0 comments on commit 57d529b

Please sign in to comment.