diff --git a/.github/workflows/merge.yml b/.github/workflows/merge.yml index 14c2e55821..afbf008f8c 100644 --- a/.github/workflows/merge.yml +++ b/.github/workflows/merge.yml @@ -79,9 +79,12 @@ jobs: run: cargo clippy --all-targets --all-features -- -Dwarnings - name: Check documentation - # Deny certain `rustdoc` lints that are unwanted. - # See https://doc.rust-lang.org/rustdoc/lints.html for lints that are 'warning' by default. - run: RUSTDOCFLAGS="--deny=warnings" cargo doc --no-deps + # Deny certain `rustdoc` lints that are unwanted with `RUSTDOCFLAGS`. See + # https://doc.rust-lang.org/rustdoc/lints.html for lints that are 'warning' by default. + # + # We exclude autonomi-cli because it is not published and conflicts with the `autonomi` crate name, + # resulting in an error when building docs. + run: RUSTDOCFLAGS="--deny=warnings" cargo doc --no-deps --workspace --exclude=autonomi-cli - name: Check local is not a default feature shell: bash