Skip to content
This repository was archived by the owner on Oct 6, 2024. It is now read-only.

Commit 5a2bce1

Browse files
committed
Test docs.rs documentation build in CI
1 parent d7e0be1 commit 5a2bce1

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,20 @@ jobs:
4747
- uses: dtolnay/rust-toolchain@1.31.0
4848
- run: cargo check
4949

50+
doc:
51+
name: Documentation
52+
needs: pre_ci
53+
if: needs.pre_ci.outputs.continue
54+
runs-on: ubuntu-latest
55+
timeout-minutes: 45
56+
env:
57+
RUSTDOCFLAGS: -Dwarnings
58+
steps:
59+
- uses: actions/checkout@v4
60+
- uses: dtolnay/rust-toolchain@nightly
61+
- uses: dtolnay/install@cargo-docs-rs
62+
- run: cargo docs-rs
63+
5064
clippy:
5165
name: Clippy
5266
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)