Skip to content

Commit

Permalink
Add rustdoc check to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
pnevyk committed Aug 23, 2024
1 parent 2684918 commit 1211da6
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,18 @@ jobs:
run: cargo check
working-directory: fuzz

check-doc:
name: Rustdoc check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Cargo doc
env:
RUSTDOCFLAGS: -D warnings
run: cargo doc --no-deps --document-private-items --workspace

test:
name: Test (${{ matrix.rust }})
runs-on: ubuntu-latest
Expand Down

0 comments on commit 1211da6

Please sign in to comment.