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/13 09:49:46 UTC
(iceberg-rust) branch gh-readonly-queue/main/pr-3389-b154603a710d730d2f43f8af4db257cc137237ef created (now 73b38c70a)
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-b154603a710d730d2f43f8af4db257cc137237ef
in repository https://gitbox.apache.org/repos/asf/iceberg-rust.git
at 73b38c70a ci: fail on rustdoc warnings (#3389)
This branch includes the following new commits:
new 73b38c70a 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-b154603a710d730d2f43f8af4db257cc137237ef
in repository https://gitbox.apache.org/repos/asf/iceberg-rust.git
commit 73b38c70a58b0c636f910a63f49bb6c5628f1cfd
Author: Yuang Gao <91...@users.noreply.github.com>
AuthorDate: Tue Oct 13 08:36:44 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