Skip to content

Commit cf2dae9

Browse files
committed
ci: check documentation
1 parent f027259 commit cf2dae9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on: [ push, pull_request ]
55
env:
66
CARGO_TERM_COLOR: 'always'
77
CARGO_TERM_VERBOSE: 'true'
8+
RUSTDOCFLAGS: '-Dwarnings'
89
RUSTFLAGS: '-Dwarnings'
910

1011
jobs:
@@ -54,6 +55,10 @@ jobs:
5455
if: ${{ !cancelled() && steps.build.outcome == 'success' }} # always run if build succeeds
5556
run: cargo test --workspace --all-features
5657

58+
- name: rustdoc
59+
if: ${{ !cancelled() && steps.build.outcome == 'success' }} # always run if build succeeds
60+
run: cargo doc --no-deps
61+
5762
examples-linux:
5863
name: Examples (Linux)
5964
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)