From 0e131e1db24c7069dd6d0773a3bb6e322cbda1a2 Mon Sep 17 00:00:00 2001 From: robot Date: Sat, 1 Aug 2026 09:04:54 +0000 Subject: [PATCH] ci: use --set-exit-if-changed for formatting gate (match release.yml) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- .gitea/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index ebb9d74..6a3d84b 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -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 ─────────────────────────────────