10000 Check docs in CI · unicode-rs/unicode-normalization@771ddda · GitHub
[go: up one dir, main page]

Skip to content

Commit 771ddda

Browse files
Check docs in CI
1 parent 962fa57 commit 771ddda

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/rust.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88

99
env:
1010
CARGO_TERM_COLOR: always
11+
RUSTDOCFLAGS: -D warnings --cfg docsrs
1112

1213
jobs:
1314
build:
@@ -37,6 +38,9 @@ jobs:
3738
run: cd $(find target/package/ -maxdepth 1 -mindepth 1 -type d) && cargo test
3839
- name: Test package without features
3940
run: cd $(find target/package/ -maxdepth 1 -mindepth 1 -type d) && cargo test --no-default-features
41+
- name: Build docs
42+
if: matrix.rust == 'nightly'
43+
run: cargo doc --all-features --verbose
4044
msrv:
4145
runs-on: ubuntu-latest
4246
steps:

0 commit comments

Comments
 (0)
0