Skip to content

Commit a3e1829

Browse files
newAMeldruin
authored andcommitted
CI: add rustdoc
1 parent ca1fa3a commit a3e1829

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,16 @@ jobs:
4545
with:
4646
components: clippy
4747
- run: cargo clippy --all --all-targets -- --deny warnings
48+
49+
rustdoc:
50+
name: rustdoc
51+
runs-on: ubuntu-latest
52+
env: {"RUSTDOCFLAGS": "-D warnings"}
53+
steps:
54+
- uses: actions/checkout@v4
55+
- uses: dtolnay/rust-toolchain@nightly
56+
# docs.rs builds documentation with:
57+
# - nightly rust
58+
# - all features
59+
# - cargo rustdoc, not cargo doc
60+
- run: cargo +nightly rustdoc --all-features

0 commit comments

Comments
 (0)