Skip to content

Commit 12ab339

Browse files
committed
fix collision between client lib & client cli bin doc in built doc
1 parent 27ded3e commit 12ab339

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,9 @@ jobs:
648648

649649
- name: Generate cargo doc
650650
run: |
651-
cargo doc --no-deps -p mithril-stm -p mithril-common -p mithril-aggregator \
651+
# Force `--lib` to avoid a collision between the client lib and the client cli binary who share
652+
# the same name (we only want to document those anyway)
653+
cargo doc --no-deps --lib -p mithril-stm -p mithril-common -p mithril-aggregator \
652654
-p mithril-signer -p mithril-client -p mithril-client-cli \
653655
--all-features --message-format=json \
654656
| clippy-sarif | tee rust-cargo-doc-results.sarif | sarif-fmt

0 commit comments

Comments
 (0)