From 55e3f36da19f2e7e5c3e2f96634ab655ad4416d9 Mon Sep 17 00:00:00 2001 From: Michael Bolin Date: Thu, 28 Aug 2025 21:31:40 -0700 Subject: [PATCH] fix: specify --profile to `cargo clippy` in CI --- .github/workflows/rust-ci.yml | 2 +- codex-rs/tui/src/lib.rs | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/rust-ci.yml b/.github/workflows/rust-ci.yml index fa9f1cd15f..7d02c95dee 100644 --- a/.github/workflows/rust-ci.yml +++ b/.github/workflows/rust-ci.yml @@ -134,7 +134,7 @@ jobs: - name: cargo clippy id: clippy - run: cargo clippy --target ${{ matrix.target }} --all-features --tests -- -D warnings + run: cargo clippy --target ${{ matrix.target }} --all-features --tests --profile ${{ matrix.profile }} -- -D warnings # Running `cargo build` from the workspace root builds the workspace using # the union of all features from third-party crates. This can mask errors diff --git a/codex-rs/tui/src/lib.rs b/codex-rs/tui/src/lib.rs index 4154160d80..544aec272a 100644 --- a/codex-rs/tui/src/lib.rs +++ b/codex-rs/tui/src/lib.rs @@ -64,8 +64,6 @@ mod chatwidget_stream_tests; #[cfg(not(debug_assertions))] mod updates; -#[cfg(not(debug_assertions))] -use color_eyre::owo_colors::OwoColorize; pub use cli::Cli;