Skip to content

Commit 57d529b

Browse files
committed
Test docs.rs documentation build in CI
1 parent b6e113f commit 57d529b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,16 +103,17 @@ jobs:
103103
- run: cargo clippy --tests -- -Dclippy::all -Dclippy::pedantic
104104
- run: cargo clippy --all-features --tests -- -Dclippy::all -Dclippy::pedantic
105105

106-
docs:
106+
doc:
107107
name: Documentation
108108
runs-on: ubuntu-latest
109109
timeout-minutes: 45
110+
env:
111+
RUSTDOCFLAGS: -Dwarnings
110112
steps:
111113
- uses: actions/checkout@v4
112114
- uses: dtolnay/rust-toolchain@nightly
113-
- run: cargo doc --features raw_value,unbounded_depth
114-
env:
115-
RUSTDOCFLAGS: --cfg docsrs
115+
- uses: dtolnay/install@cargo-docs-rs
116+
- run: cargo docs-rs
116117

117118
fuzz:
118119
name: Fuzz

0 commit comments

Comments
 (0)