Skip to content

Commit

Permalink
update prepare-* workflows to run custom_lint
Browse files Browse the repository at this point in the history
  • Loading branch information
bartekpacia committed Nov 23, 2023
1 parent a8e2154 commit 9313667
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 12 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/adb-prepare.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/patrol-prepare.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/patrol_cli-prepare.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/patrol_devtools_extension-prepare.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/patrol_finders-prepare.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/patrol_gen-prepare.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 9313667

Please sign in to comment.