Skip to content

Commit

Permalink
ci: add rustdoc check with deny warnings.
Browse files Browse the repository at this point in the history
Catches things like broken links.
  • Loading branch information
Dirbaio committed Jul 17, 2023
1 parent b2c2971 commit 5f8f7f9
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/rustdoc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
on:
push: # Run CI for all branches except GitHub merge queue tmp branches
branches-ignore:
- "gh-readonly-queue/**"
pull_request: # Run CI for PRs on any branch
merge_group: # Run CI for the GitHub merge queue

name: Rustdoc check
jobs:
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly-2023-07-03
- run: RUSTDOCFLAGS="--deny=warnings --cfg=docsrs" cargo doc --all-features

0 comments on commit 5f8f7f9

Please sign in to comment.