Skip to content

Commit

Permalink
Merge pull request #223 from allan2/main
Browse files Browse the repository at this point in the history
Add doc check to CI
  • Loading branch information
hannobraun authored Sep 17, 2024
2 parents c4131fd + 80208a9 commit cce05f6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,17 @@ jobs:
- name: clippy
run: cargo clippy --all-targets --all-features -- -D warnings

check-docs:
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 rustdoc::all -A rustdoc::private-doc-tests"
run: cargo doc --all-features --no-deps

build:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit cce05f6

Please sign in to comment.