Skip to content

Commit

Permalink
ci: add docs test to rust.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
denehoffman authored May 26, 2024
1 parent 71181fc commit 78f6885
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,13 @@ jobs:
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
doc:
name: Documentation
runs-on: ubuntu-latest
env:
RUSTDOCFLAGS: -Dwarnings
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- uses: dtolnay/install@cargo-docs-rs
- run: cargo docs-rs

0 comments on commit 78f6885

Please sign in to comment.