File tree Expand file tree Collapse file tree 1 file changed +9
-14
lines changed Expand file tree Collapse file tree 1 file changed +9
-14
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ name: lint
22
33on :
44 push :
5- branches : [main]
5+ branches : [main, dev ]
66 pull_request :
7- types : [opened, reopened ]
7+ branches : [main ]
88
99jobs :
1010 analyze :
@@ -13,24 +13,19 @@ jobs:
1313 - uses : actions/checkout@v3
1414 - uses : subosito/flutter-action@v2
1515 with :
16+ flutter-version : " 3.24.3"
1617 channel : " stable"
17- - run : flutter analyze --fatal-infos
18+ - uses : bluefireteam/melos-action@v3
19+ - run : melos run analyze
1820
1921 format :
2022 runs-on : ubuntu-latest
2123 steps :
2224 - uses : actions/checkout@v3
2325 - uses : subosito/flutter-action@v2
2426 with :
27+ flutter-version : " 3.24.3"
2528 channel : " stable"
26- - run : dart format . --fix --set-exit-if-changed
27-
28- dependency_validator :
29- runs-on : ubuntu-latest
30- steps :
31- - uses : actions/checkout@v3
32- - uses : subosito/flutter-action@v2
33- with :
34- channel : " stable"
35- - run : flutter pub get
36- - run : flutter pub run dependency_validator
29+ cache : true
30+ - uses : bluefireteam/melos-action@v3
31+ - run : melos run format-check
You can’t perform that action at this time.
0 commit comments