File tree Expand file tree Collapse file tree 3 files changed +22
-4
lines changed Expand file tree Collapse file tree 3 files changed +22
-4
lines changed Original file line number Diff line number Diff line change 20
20
channel : [ 'stable', 'beta' ]
21
21
22
22
steps :
23
- - uses : actions/checkout@v3
23
+ - uses : actions/checkout@v4
24
24
25
- - uses : subosito/flutter-action@v2.8 .0
25
+ - uses : subosito/flutter-action@v2.16 .0
26
26
with :
27
27
channel : ${{ matrix.channel }}
28
28
@@ -34,11 +34,11 @@ jobs:
34
34
35
35
- name : Format
36
36
if : ${{ matrix.channel == 'stable' }}
37
- run : flutter format lib test --set-exit-if-changed
37
+ run : dart format lib test example --set-exit-if-changed
38
38
39
39
- name : Analyze
40
40
if : ${{ matrix.channel == 'stable' }}
41
- run : flutter analyze lib test
41
+ run : flutter analyze lib test example
42
42
43
43
- name : Run tests
44
44
run : flutter test --coverage --coverage-path=lcov.info
Original file line number Diff line number Diff line change @@ -102,6 +102,14 @@ packages:
102
102
url: "https://pub.dev"
103
103
source: hosted
104
104
version: "1.1.0"
105
+ flutter_lints:
106
+ dependency: "direct dev"
107
+ description:
108
+ name: flutter_lints
109
+ sha256: "3f41d009ba7172d5ff9be5f6e6e6abb4300e263aab8866d2a0842ed2a70f8f0c"
110
+ url: "https://pub.dev"
111
+ source: hosted
112
+ version: "4.0.0"
105
113
flutter_provider:
106
114
dependency: transitive
107
115
description:
@@ -139,6 +147,14 @@ packages:
139
147
url: "https://pub.dev"
140
148
source: hosted
141
149
version: "3.0.1"
150
+ lints:
151
+ dependency: transitive
152
+ description:
153
+ name: lints
154
+ sha256: "976c774dd944a42e83e2467f4cc670daef7eed6295b10b36ae8c85bcbf828235"
155
+ url: "https://pub.dev"
156
+ source: hosted
157
+ version: "4.0.0"
142
158
listenable_stream:
143
159
dependency: "direct main"
144
160
description:
Original file line number Diff line number Diff line change @@ -31,7 +31,9 @@ dependencies:
31
31
disposebag : ^1.5.1
32
32
flutter_disposebag : ^1.1.0
33
33
flutter_bloc_pattern : ^3.0.0
34
+
34
35
dev_dependencies :
36
+ flutter_lints : ^4.0.0
35
37
flutter_test :
36
38
sdk : flutter
37
39
You can’t perform that action at this time.
0 commit comments