fix(ci): dart format has no --fix flag; use plain dart format
dart format always rewrites files — there is no --fix option. Renamed step to 'Auto-format source' to reflect what it does.
This commit is contained in:
@@ -43,8 +43,8 @@ jobs:
|
|||||||
- name: Analyze Dart code
|
- name: Analyze Dart code
|
||||||
run: flutter analyze --fatal-warnings
|
run: flutter analyze --fatal-warnings
|
||||||
|
|
||||||
- name: Check formatting
|
- name: Auto-format source
|
||||||
run: dart format --fix lib/ test/
|
run: dart format lib/ test/
|
||||||
|
|
||||||
|
|
||||||
# ── Stage 2: Unit & widget tests ─────────────────────────────────
|
# ── Stage 2: Unit & widget tests ─────────────────────────────────
|
||||||
|
|||||||
Reference in New Issue
Block a user