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 ddc1ee5 commit 1af23f1
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,20 @@ jobs:
- run: cargo generate-lockfile -Z minimal-versions
- run: cargo check --locked --workspace

doc:
name: Documentation
runs-on: ubuntu-latest
timeout-minutes: 45
env:
RUSTDOCFLAGS: -Dwarnings
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- uses: dtolnay/install@cargo-docs-rs
- run: cargo docs-rs -p serde
- run: cargo docs-rs -p serde_derive
- run: cargo docs-rs -p serde_derive_internals

clippy:
name: Clippy
runs-on: ubuntu-latest
Expand Down

0 comments on commit 1af23f1

Please sign in to comment.