Skip to content

Commit

Permalink
Add CI test for building documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
faern committed Jun 4, 2024
1 parent a7ef235 commit 4bc453f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ jobs:
- name: Test
run: cargo test

# Make sure documentation builds without warnings (broken links etc)
- name: Generate documentation
if: matrix.rust == 'stable'
run: RUSTDOCFLAGS="--deny warnings" cargo doc

# Make sure the library builds with all dependencies downgraded to their
# oldest versions allowed by the semver spec. This ensures we have not
# under-specified any dependency
Expand Down

0 comments on commit 4bc453f

Please sign in to comment.