Skip to content

Commit d8f70a3

Browse files
committed
Add CI job to ensure documentation can be built
1 parent e2978b6 commit d8f70a3

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,16 @@ jobs:
7575
- uses: dtolnay/rust-toolchain@clippy
7676
- run: cargo clippy
7777

78+
docs:
79+
name: Documentation
80+
runs-on: ubuntu-latest
81+
steps:
82+
- uses: actions/checkout@v2
83+
- uses: dtolnay/rust-toolchain@nightly
84+
- run: cargo doc --features raw_value,unbounded_depth
85+
env:
86+
RUSTDOCFLAGS: --cfg docsrs
87+
7888
fuzz:
7989
name: Fuzz
8090
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)