diff --git a/.github/workflows/elastic-ci.yml b/.github/workflows/elastic-ci.yml index 836a34fa..2cc8aa1f 100644 --- a/.github/workflows/elastic-ci.yml +++ b/.github/workflows/elastic-ci.yml @@ -40,6 +40,9 @@ jobs: - name: Verify formatting run: dart format --output=none --set-exit-if-changed lib/* test/* + - name: Verify import sorting + run: dart run import_sorter:main --exit-if-changed + - name: Analyze project source run: flutter analyze --no-fatal-infos --no-fatal-warnings test: diff --git a/pubspec.yaml b/pubspec.yaml index 65b96118..4f9e7ee0 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -67,6 +67,8 @@ flutter: import_sorter: comments: false + ignored_files: + - /*.mocks.dart flutter_launcher_icons: image_path: "assets/logos/logo.png"