diff --git a/.github/workflows/adb-prepare.yaml b/.github/workflows/adb-prepare.yaml index fd5d0bc376..e6ff1103cb 100644 --- a/.github/workflows/adb-prepare.yaml +++ b/.github/workflows/adb-prepare.yaml @@ -35,8 +35,11 @@ jobs: - name: dart test run: dart test - - name: dart analyze - run: dart analyze + - name: Run analyzer + if: success() || failure() + run: | + flutter analyze + dart run custom_lint - name: dart format run: dart format --set-exit-if-changed . diff --git a/.github/workflows/patrol-prepare.yaml b/.github/workflows/patrol-prepare.yaml index bdc5337c2b..57b24706d7 100644 --- a/.github/workflows/patrol-prepare.yaml +++ b/.github/workflows/patrol-prepare.yaml @@ -226,9 +226,11 @@ jobs: if: success() || failure() run: flutter test --coverage - - name: flutter analyze + - name: Run analyzer if: success() || failure() - run: flutter analyze + run: | + flutter analyze + dart run custom_lint - name: dart format if: success() || failure() diff --git a/.github/workflows/patrol_cli-prepare.yaml b/.github/workflows/patrol_cli-prepare.yaml index 4ffef45c3b..322afdb3d9 100644 --- a/.github/workflows/patrol_cli-prepare.yaml +++ b/.github/workflows/patrol_cli-prepare.yaml @@ -49,8 +49,11 @@ jobs: dart test --coverage coverage dart run coverage:format_coverage --lcov --in coverage --out coverage/lcov.info --report-on lib - - name: dart analyze - run: dart analyze + - name: Run analyzer + if: success() || failure() + run: | + flutter analyze + dart run custom_lint - name: dart format run: dart format --set-exit-if-changed . diff --git a/.github/workflows/patrol_devtools_extension-prepare.yaml b/.github/workflows/patrol_devtools_extension-prepare.yaml index c0236d58dc..734a557fad 100644 --- a/.github/workflows/patrol_devtools_extension-prepare.yaml +++ b/.github/workflows/patrol_devtools_extension-prepare.yaml @@ -38,9 +38,11 @@ jobs: if: success() || failure() run: flutter test --coverage - - name: flutter analyze + - name: Run analyzer if: success() || failure() - run: flutter analyze + run: | + flutter analyze + dart run custom_lint - name: dart format if: success() || failure() diff --git a/.github/workflows/patrol_finders-prepare.yaml b/.github/workflows/patrol_finders-prepare.yaml index 9a846a009a..780131fb82 100644 --- a/.github/workflows/patrol_finders-prepare.yaml +++ b/.github/workflows/patrol_finders-prepare.yaml @@ -38,9 +38,11 @@ jobs: if: success() || failure() run: flutter test --coverage - - name: flutter analyze + - name: Run analyzer if: success() || failure() - run: flutter analyze + run: | + flutter analyze + dart run custom_lint - name: dart format if: success() || failure() diff --git a/.github/workflows/patrol_gen-prepare.yaml b/.github/workflows/patrol_gen-prepare.yaml index 86653994c7..36ce77bd7d 100644 --- a/.github/workflows/patrol_gen-prepare.yaml +++ b/.github/workflows/patrol_gen-prepare.yaml @@ -32,9 +32,11 @@ jobs: - name: dart pub get run: dart pub get - - name: dart analyze + - name: Run analyzer if: success() || failure() - run: dart analyze + run: | + flutter analyze + dart run custom_lint - name: dart format if: success() || failure()