Skip to content

Commit

Permalink
Check documentation as part of CI
Browse files Browse the repository at this point in the history
This change adds a step checking that our documentation is somewhat
kosher to the CI.
  • Loading branch information
d-e-s-o committed Sep 22, 2022
1 parent a1f2af1 commit 77c709f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,15 @@ jobs:
components: rustfmt
override: true
- run: cargo +nightly fmt -- --check
cargo-doc:
name: Generate documentation
runs-on: ubuntu-latest
env:
RUSTDOCFLAGS: '-A unknown_lints -A renamed_and_removed_lints -D warnings'
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- run: cargo doc --no-deps --no-default-features --features=serde,num-v04

0 comments on commit 77c709f

Please sign in to comment.