Skip to content

Commit a399ea6

Browse files
authored
Merge pull request #27 from CAD97/ci-docs
Ensure docs build
2 parents a29d564 + 2c39fd6 commit a399ea6

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,26 @@ jobs:
3333
profile: minimal
3434

3535
- name: Test
36-
run: cargo test --features serde
36+
run: cargo test --all-features
37+
38+
rustdoc:
39+
name: Docs
40+
runs-on: ubuntu-latest
41+
42+
env:
43+
RUSTFLAGS: -D warnings
44+
RUSTUP_MAX_RETRIES: 10
45+
CARGO_NET_RETRY: 10
46+
47+
steps:
48+
- name: Checkout repository
49+
uses: actions/checkout@v2
50+
51+
- name: Install Rust toolchain
52+
uses: actions-rs/toolchain@v1
53+
with:
54+
toolchain: nightly
55+
profile: minimal
56+
57+
- name: Rustdoc
58+
run: cargo doc --all-features

0 commit comments

Comments
 (0)