ci: use --set-exit-if-changed for formatting gate (match release.yml)
CI / Lint (pull_request) Failing after 19m25s
CI / Test (pull_request) Skipped
CI / Build Android (pull_request) Skipped
CI / Build iOS (pull_request) Skipped

Previously ci.yml used 'dart format --fix' which silently reformatste
code without failing the build. Changed to '--set-exit-if-changed' to
match release.yml — a proper gate that catches formatting violations
early in CI rather than silently fixing them.
This commit is contained in:
robot
2026-08-01 09:04:54 +00:00
parent 137815ad25
commit 0e131e1db2
+1 -1
View File
@@ -44,7 +44,7 @@ jobs:
run: flutter analyze --fatal-warnings
- name: Check formatting
run: dart format --fix lib/ test/
run: dart format --set-exit-if-changed lib/ test/
# ── Stage 2: Unit & widget tests ─────────────────────────────────