From 27ea620f76506860f103440a7c7b35dbfc23d5cc Mon Sep 17 00:00:00 2001 From: Anthony Date: Fri, 29 May 2026 15:03:01 +0200 Subject: [PATCH] CI: scope rustfmt to our crates, not the vendored SDK `cargo fmt --all` descends into the tuta-repo submodule (its own workspace), which we deliberately don't reformat. Check only our three crates. --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c905a4b..0a487bd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,8 +60,10 @@ jobs: working-directory: ui run: npx tsc --noEmit + # Scope to our crates explicitly — `--all` would descend into the + # vendored SDK submodule (its own workspace), which we don't format. - name: Rustfmt - run: cargo fmt --all --check + run: cargo fmt --check -p tutabridge -p tutabridge-core -p tutabridge-gui # Advisory for now — the codebase still has a handful of clippy lints. # Tighten to `-- -D warnings` once they're cleared.