don't deny 'println' in examples in CI
This commit is contained in:
parent
fe788aad5e
commit
88aba9e007
|
@ -13,7 +13,7 @@ rust-latest:
|
|||
- cargo build --verbose --target x86_64-unknown-linux-gnu
|
||||
- cargo test --verbose --target x86_64-unknown-linux-gnu
|
||||
- rustup component add clippy rustfmt
|
||||
- cargo clippy --all-features --all-targets --tests -- -D warnings
|
||||
- cargo clippy --all-features --all-targets -- -D warnings
|
||||
- cargo fmt -- --check
|
||||
- cp cargo-audit $CARGO_HOME/bin/ || cargo install cargo-audit
|
||||
- ./maint/cargo_audit.sh
|
||||
|
@ -45,7 +45,7 @@ rust-nightly:
|
|||
- cargo test --verbose --target x86_64-unknown-linux-gnu --all-features
|
||||
- rustup component add clippy
|
||||
# We check these extra warnings on CI only, since we don't want to forbid them while developing.
|
||||
- cargo clippy --all-features --all-targets -- -D clippy::dbg_macro -D clippy::print_stdout -D clippy::print_stderr
|
||||
- cargo clippy --all-features --tests -- -D clippy::dbg_macro -D clippy::print_stdout -D clippy::print_stderr
|
||||
- RUSTDOCFLAGS="-Dwarnings" cargo doc --all-features --document-private-items
|
||||
tags:
|
||||
- amd64
|
||||
|
|
Loading…
Reference in New Issue