You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by gi...@apache.org on 2026/10/12 14:30:28 UTC

(iceberg-rust) branch gh-readonly-queue/main/pr-3389-693339072b87eebf075479393a8ef55182f27aca created (now d6720efb2)

This is an automated email from the ASF dual-hosted git repository.

github-merge-queue[bot] pushed a change to branch gh-readonly-queue/main/pr-3389-693339072b87eebf075479393a8ef55182f27aca
in repository https://gitbox.apache.org/repos/asf/iceberg-rust.git


      at d6720efb2 ci: fail on rustdoc warnings (#3389)

This branch includes the following new commits:

     new d6720efb2 ci: fail on rustdoc warnings (#3389)

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(iceberg-rust) 01/01: ci: fail on rustdoc warnings (#3389)

Posted by gi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

github-merge-queue[bot] pushed a commit to branch gh-readonly-queue/main/pr-3389-693339072b87eebf075479393a8ef55182f27aca
in repository https://gitbox.apache.org/repos/asf/iceberg-rust.git

commit d6720efb2b749b6722169ea6aa0f654bb699eee3
Author: Yuang Gao <91...@users.noreply.github.com>
AuthorDate: Mon Oct 12 11:45:22 2026 +0000

    ci: fail on rustdoc warnings (#3389)
---
 .github/workflows/ci.yml | 3 +++
 Makefile                 | 5 ++++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 9369a91e8..58ec189db 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -122,6 +122,9 @@ jobs:
       - name: Cargo clippy
         run: make check-clippy
 
+      - name: Cargo doc
+        run: make check-doc
+
   build:
     needs: lint
     runs-on: ${{ matrix.os }}
diff --git a/Makefile b/Makefile
index c596fc4bf..9da47d186 100644
--- a/Makefile
+++ b/Makefile
@@ -26,6 +26,9 @@ check-fmt:
 check-clippy:
 	cargo clippy --all-targets --all-features --workspace -- -D warnings
 
+check-doc:
+	RUSTDOCFLAGS="-D warnings" cargo doc --no-deps --all-features --workspace
+
 # Keep version in sync with the CI lint install step in .github/workflows/ci.yml.
 install-cargo-machete:
 	cargo install --locked cargo-machete@0.7.0
@@ -96,7 +99,7 @@ install-cargo-deny:
 check-dependency-licenses: install-cargo-deny
 	python3 ./dev/release/licenses.py dependencies check
 
-check: check-fmt check-clippy check-toml cargo-machete check-license-notice check-dependency-licenses
+check: check-fmt check-clippy check-doc check-toml cargo-machete check-license-notice check-dependency-licenses
 
 doc-test:
 	cargo test --no-fail-fast --doc --all-features --workspace