Skip to content

Commit d610c0b

Browse files
committed
ci: check documentation
1 parent 6e673a6 commit d610c0b

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

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

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

0 commit comments

Comments
 (0)