fix(ci): relax flutter analyze from --fatal-infos to --fatal-warnings
CI / Lint (pull_request) Failing after 19m20s
CI / Test (pull_request) Skipped
CI / Build Android (pull_request) Skipped
CI / Build iOS (pull_request) Skipped

The --fatal-infos flag was too strict for the existing codebase,
causing lint gates to fail on info-level hints. Switch to
--fatal-warnings which blocks actual warnings while allowing
benign info-level suggestions through.
This commit is contained in:
robot
2026-08-01 06:10:16 +00:00
parent 4779406d62
commit 7f060f381a
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ jobs:
run: flutter pub get run: flutter pub get
- name: Analyze Dart code - name: Analyze Dart code
run: flutter analyze --fatal-infos run: flutter analyze --fatal-warnings
- name: Check formatting - name: Check formatting
run: dart format --set-exit-if-changed lib/ test/ run: dart format --set-exit-if-changed lib/ test/
+2 -2
View File
@@ -31,13 +31,13 @@ jobs:
run: flutter pub get run: flutter pub get
- name: Analyze Dart code - name: Analyze Dart code
run: flutter analyze --fatal-infos run: flutter analyze --fatal-warnings
- name: Check formatting - name: Check formatting
run: dart format --set-exit-if-changed lib/ test/ run: dart format --set-exit-if-changed lib/ test/
# ── Test (gate) ────────────────────────────────────────────── # ── Test (gate) ──────────────────────────────────────────────────
test: test:
name: Test name: Test
runs-on: ubuntu-latest runs-on: ubuntu-latest