Skip to content

Commit

Permalink
Attempt to build docs with docs.rs features
Browse files Browse the repository at this point in the history
  • Loading branch information
novacrazy committed Sep 13, 2023
1 parent 8ca9559 commit 403b4c4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,12 @@ jobs:
uses: actions/checkout@v3

- name: Install Rust
uses: dtolnay/rust-toolchain@stable
uses: dtolnay/rust-toolchain@nightly

- name: Build documentation
run: cargo doc --all-features
run: |
echo "RUSTDOCFLAGS='--cfg docsrs'" >> $GITHUB_ENV
cargo doc --features "serde zeroize const-default alloc"
- name: Finalize documentation
run: |
Expand Down

0 comments on commit 403b4c4

Please sign in to comment.