Skip to content

Commit 7ced2e8

Browse files
committed
Add CI check for docs.rs builds
.. to avoid running into any future breakage, we add a CI job that checks our documentation builds as expected.
1 parent 22ce6d1 commit 7ced2e8

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/rust.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,3 +98,14 @@ jobs:
9898
run: cargo install cross --locked
9999
- name: run cross test
100100
run: cross test --target s390x-unknown-linux-gnu
101+
102+
Docs:
103+
name: Documentation
104+
runs-on: ubuntu-latest
105+
env:
106+
RUSTDOCFLAGS: -Dwarnings
107+
steps:
108+
- uses: actions/checkout@v6
109+
- uses: dtolnay/rust-toolchain@nightly
110+
- uses: dtolnay/install@cargo-docs-rs
111+
- run: cargo docs-rs

0 commit comments

Comments
 (0)