Skip to content

Commit

Permalink
ci: check "helper" feature
Browse files Browse the repository at this point in the history
It would be nice to use --all-features, unfortunately, this is not
compatible with ironrdp-tls backend selection.

Signed-off-by: Marc-André Lureau <[email protected]>
  • Loading branch information
elmarco committed Dec 30, 2024
1 parent d0461a1 commit f51f876
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion xtask/src/check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ pub fn lints(sh: &Shell) -> anyhow::Result<()> {
let _s = Section::new("LINTS");

// TODO: when 1.74 is released use `--keep-going`: https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#keep-going
cmd!(sh, "{CARGO} clippy --workspace --all-targets --locked -- -D warnings").run()?;
cmd!(
sh,
"{CARGO} clippy --workspace --all-targets --features helper --locked -- -D warnings"
)
.run()?;

println!("All good!");

Expand Down

0 comments on commit f51f876

Please sign in to comment.