fix(ci): relax flutter analyze from --fatal-infos to --fatal-warnings
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:
@@ -37,7 +37,7 @@ jobs:
|
||||
run: flutter pub get
|
||||
|
||||
- name: Analyze Dart code
|
||||
run: flutter analyze --fatal-infos
|
||||
run: flutter analyze --fatal-warnings
|
||||
|
||||
- name: Check formatting
|
||||
run: dart format --set-exit-if-changed lib/ test/
|
||||
|
||||
@@ -31,13 +31,13 @@ jobs:
|
||||
run: flutter pub get
|
||||
|
||||
- name: Analyze Dart code
|
||||
run: flutter analyze --fatal-infos
|
||||
run: flutter analyze --fatal-warnings
|
||||
|
||||
- name: Check formatting
|
||||
run: dart format --set-exit-if-changed lib/ test/
|
||||
|
||||
|
||||
# ── Test (gate) ──────────────────────────────────────────────
|
||||
# ── Test (gate) ──────────────────────────────────────────────────
|
||||
test:
|
||||
name: Test
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user