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
2
2
3
3
on :
4
4
push :
5
- branches : [main]
5
+ branches : [main, dev ]
6
6
pull_request :
7
- types : [opened, reopened ]
7
+ branches : [main ]
8
8
9
9
jobs :
10
10
analyze :
@@ -13,24 +13,19 @@ jobs:
13
13
- uses : actions/checkout@v3
14
14
- uses : subosito/flutter-action@v2
15
15
with :
16
+ flutter-version : " 3.24.3"
16
17
channel : " stable"
17
- - run : flutter analyze --fatal-infos
18
+ - uses : bluefireteam/melos-action@v3
19
+ - run : melos run analyze
18
20
19
21
format :
20
22
runs-on : ubuntu-latest
21
23
steps :
22
24
- uses : actions/checkout@v3
23
25
- uses : subosito/flutter-action@v2
24
26
with :
27
+ flutter-version : " 3.24.3"
25
28
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