Skip to content

Commit 771ddda

Browse files
Check docs in CI
1 parent 962fa57 commit 771ddda

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/rust.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88

99
env:
1010
CARGO_TERM_COLOR: always
11+
RUSTDOCFLAGS: -D warnings --cfg docsrs
1112

1213
jobs:
1314
build:
@@ -37,6 +38,9 @@ jobs:
3738
run: cd $(find target/package/ -maxdepth 1 -mindepth 1 -type d) && cargo test
3839
- name: Test package without features
3940
run: cd $(find target/package/ -maxdepth 1 -mindepth 1 -type d) && cargo test --no-default-features
41+
- name: Build docs
42+
if: matrix.rust == 'nightly'
43+
run: cargo doc --all-features --verbose
4044
msrv:
4145
runs-on: ubuntu-latest
4246
steps:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy