mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-10-18 19:10:30 +08:00
ci: Deny cargo doc warnings
A job should fail whenever `rust doc` emits warnings.
This commit is contained in:
committed by
Lorenz Leutgeb
parent
14fcf50677
commit
101fbff809
@@ -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
|
||||
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
shell: |
|
||||
export RUSTDOCFLAGS='-D warnings'
|
||||
|
||||
cargo --version
|
||||
rustc --version
|
||||
|
||||
|
||||
Reference in New Issue
Block a user