Skip to content

Commit 0ce22bb

Browse files
run ./am deps before running format
1 parent c9b2e77 commit 0ce22bb

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

.github/workflows/on_push.yml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,6 @@ jobs:
1414
- run: ./am deps
1515
- run: ./am analyze --fatal-warnings --fatal-infos
1616

17-
format-with-default-dart:
18-
timeout-minutes: 10
19-
runs-on: ubuntu-latest
20-
steps:
21-
- uses: actions/checkout@v2
22-
- uses: subosito/flutter-action@v2
23-
with:
24-
channel: 'stable'
25-
- run: ./am deps
26-
- run: ls -a
27-
- run: dart --version
28-
- run: find . -name "*.dart" ! -name "*.g.dart" ! -name "*.freezed.dart" ! -path '*/generated/*' ! -path '*/gen/*' ! -path '*/build/*' | xargs dart format --set-exit-if-changed
29-
3017
format:
3118
timeout-minutes: 10
3219
runs-on: ubuntu-latest
@@ -35,7 +22,7 @@ jobs:
3522
- uses: subosito/flutter-action@v2
3623
with:
3724
channel: 'stable'
38-
- run: ./am dart --version
25+
- run: ./am deps
3926
- run: ./am format --verify
4027

4128
test:

0 commit comments

Comments
 (0)