Skip to content

Commit

Permalink
ci: check cargo doc
Browse files Browse the repository at this point in the history
  • Loading branch information
arxanas committed Dec 8, 2024
1 parent 0794f87 commit a51332e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,19 @@ jobs:
components: rustfmt
- run: cargo +nightly fmt --all -- --check

check-cargo-doc:
name: Check `cargo doc` for warnings
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: dtolnay/rust-toolchain@1482605bfc5719782e1267fd0c0cc350fe7646b8
with:
toolchain: stable
- name: Check `cargo doc`
env:
RUSTDOCFLAGS: "--deny warnings"
run: cargo doc --workspace --no-deps

mkdocs:
name: Check that MkDocs can build the docs
runs-on: ubuntu-latest
Expand Down

0 comments on commit a51332e

Please sign in to comment.