Skip to content

Commit cbab8e6

Browse files
committed
CI
1 parent af2ab73 commit cbab8e6

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/_base-flutter.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ jobs:
7070
- name: "dart format"
7171
run: |
7272
echo "Checking Dart formatting...\nFiles displayed below:"
73-
dart format --set-exit-if-changed .
73+
dart format -o none --set-exit-if-changed ./lib/
74+
if [ -d "${{ inputs.path }}/test" ]; then dart format -o none --set-exit-if-changed ./test/; fi
7475
echo "No formatting issues found."
7576
working-directory: ${{ inputs.path }}
7677

example/editor/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ dev_dependencies:
4848
# activated in the `analysis_options.yaml` file located at the root of your
4949
# package. See that file for information about deactivating specific lint
5050
# rules and activating additional ones.
51-
flutter_lints: ^5.0.0
51+
flutter_lints: ^6.0.0
5252

5353
# For information on the generic Dart part of this file, see the
5454
# following page: https://dart.dev/tools/pub/pubspec

0 commit comments

Comments
 (0)