From 4cb6477e9a5d5b8a7d3a2179f81e753be34b23b5 Mon Sep 17 00:00:00 2001 From: Wes Date: Wed, 29 Jul 2026 08:59:11 -0600 Subject: [PATCH] Run Tauri clippy in pre-push Reuse the CI-equivalent just recipe for all paths that can affect the Tauri crate so warnings rejected by CI are caught before push. Co-authored-by: Carl Signed-off-by: Wes --- lefthook.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lefthook.yml b/lefthook.yml index 87eaa87c21..0680dd29a4 100644 --- a/lefthook.yml +++ b/lefthook.yml @@ -61,6 +61,11 @@ pre-push: glob: ["desktop/**", "pnpm-lock.yaml"] exclude: ["desktop/src-tauri/**"] run: just desktop-test + desktop-tauri-clippy: + # Keep local lint parity with Desktop Core CI for every path that can + # affect the Tauri crate or its path dependencies. + glob: ["desktop/src-tauri/**", "crates/**", "migrations/**", "schema/**", "Cargo.toml", "Cargo.lock", "rust-toolchain.toml", "deny.toml", "scripts/run-tests.sh", "justfile"] + run: just desktop-tauri-clippy desktop-tauri-test: # ci.yml:113 — Desktop Core triggers on `rust` OR `desktop-rust`; # desktop/src-tauri path-depends on crates/buzz-core, buzz-persona,