Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

fix: specify --profile to `cargo clippy` in CI (#2871)

Michael Bolin5d2d3002ef52
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;