Skip to content

Commit 15abc17

Browse files
committed
Test docs.rs documentation build in CI
1 parent 784e9b2 commit 15abc17

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/ci.yml

+15
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,21 @@ jobs:
3838
- run: cargo test --workspace
3939
if: matrix.rust != '1.56.0'
4040

41+
doc:
42+
name: Documentation
43+
needs: pre_ci
44+
if: needs.pre_ci.outputs.continue
45+
runs-on: ubuntu-latest
46+
timeout-minutes: 45
47+
env:
48+
RUSTDOCFLAGS: -Dwarnings
49+
steps:
50+
- uses: actions/checkout@v4
51+
- uses: dtolnay/rust-toolchain@nightly
52+
- uses: dtolnay/install@cargo-docs-rs
53+
- run: cargo docs-rs
54+
- run: cargo docs-rs -p unindent
55+
4156
clippy:
4257
name: Clippy
4358
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)