mirror of
https://github.com/spartanz51/tutabridge.git
synced 2026-06-24 10:54:32 +02:00
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.
This commit is contained in:
@@ -60,8 +60,10 @@ jobs:
|
|||||||
working-directory: ui
|
working-directory: ui
|
||||||
run: npx tsc --noEmit
|
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
|
- 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.
|
# Advisory for now — the codebase still has a handful of clippy lints.
|
||||||
# Tighten to `-- -D warnings` once they're cleared.
|
# Tighten to `-- -D warnings` once they're cleared.
|
||||||
|
|||||||
Reference in New Issue
Block a user