Skip to content

Commit 8d0bf87

Browse files
Copilotjwinarske
andcommitted
Fix CI workflow formatting command
Replace 'flutter format' with 'dart format' as the format command was moved to the Dart SDK in Flutter 3.x. This fixes the "Could not find a command named 'format'" error in the CI pipeline. Co-authored-by: jwinarske <[email protected]>
1 parent 608ed93 commit 8d0bf87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
run: flutter analyze
2626

2727
- name: Check formatting
28-
run: flutter format --set-exit-if-changed lib/
28+
run: dart format --set-exit-if-changed lib/
2929

3030
test:
3131
name: Run Tests

0 commit comments

Comments
 (0)