From 101fbff8094bb6665963b5a819f0ba9ec2abdc6b Mon Sep 17 00:00:00 2001 From: Erik Kundt Date: Mon, 15 Sep 2025 12:16:46 +0200 Subject: [PATCH] ci: Deny `cargo doc` warnings A job should fail whenever `rust doc` emits warnings. --- .radicle/ambient.yaml | 1 + .radicle/native.yaml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.radicle/ambient.yaml b/.radicle/ambient.yaml index 703a6744..881edf3a 100644 --- a/.radicle/ambient.yaml +++ b/.radicle/ambient.yaml @@ -16,6 +16,7 @@ plan: export CARGO_HOME=/workspace/deps export HOME=/root export PATH="/root/.cargo/bin:$PATH" + export RUSTDOCFLAGS='-D warnings' cargo doc --workspace --no-deps diff --git a/.radicle/native.yaml b/.radicle/native.yaml index 16f5399f..4cee72e8 100644 --- a/.radicle/native.yaml +++ b/.radicle/native.yaml @@ -1,4 +1,6 @@ shell: | + export RUSTDOCFLAGS='-D warnings' + cargo --version rustc --version