From 981be5159d2f8b97e512c2e5cd78caf6224547fe Mon Sep 17 00:00:00 2001 From: Delnegend Date: Sun, 20 Sep 2026 06:30:57 +0000 Subject: [PATCH] ci: apply formatting in check instead of gating it `just check` now formats first (rustfmt + oxfmt) and then runs lint/type-check/tests, matching the previous `prettier -w` behavior; `cargo fmt` no longer uses `--check`. The formatting step lives in the `check` recipe per kind, so the separate `fmt` recipe is dropped. --- justfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/justfile b/justfile index 3fb27aa..69f9a06 100644 --- a/justfile +++ b/justfile @@ -5,6 +5,7 @@ dev: cd frontend && bun x vite # check code for: rust (backend), js (frontend) +# formatting is applied first (rustfmt + oxfmt), then linted/type-checked # default: all — rust checks ensure all pipelines always buildable (no silent regression) check kind="all": #!/usr/bin/env bash @@ -22,7 +23,7 @@ check kind="all": fi if [[ "{{kind}}" = "all" || "{{kind}}" = "rust" ]]; then - cargo fmt -- --check + cargo fmt # always-buildable: scalar / simd are both compiled cargo check --workspace cargo check --workspace --all-features