Skip to content

Commit 6a8fb96

Browse files
committed
ci: Check for warnings in cargo doc
1 parent 7e5762b commit 6a8fb96

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,14 @@ jobs:
134134
rust:
135135
- stable
136136
name: docs/${{ matrix.rust }}
137+
env:
138+
RUSTDOCFLAGS: "-Dwarnings"
137139
steps:
138140
- uses: actions/checkout@v4
139141
- uses: dtolnay/rust-toolchain@master
140142
with:
141143
toolchain: ${{ matrix.rust }}
142-
- run: cargo doc
144+
- run: cargo doc --no-deps --all-features
143145

144146
conclusion:
145147
needs:

0 commit comments

Comments
 (0)