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 2020 channel : [ 'stable', 'beta' ]
2121
2222 steps :
23- - uses : actions/checkout@v3
23+ - uses : actions/checkout@v4
2424
25- - uses : subosito/flutter-action@v2.8 .0
25+ - uses : subosito/flutter-action@v2.16 .0
2626 with :
2727 channel : ${{ matrix.channel }}
2828
@@ -34,11 +34,11 @@ jobs:
3434
3535 - name : Format
3636 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
3838
3939 - name : Analyze
4040 if : ${{ matrix.channel == 'stable' }}
41- run : flutter analyze lib test
41+ run : flutter analyze lib test example
4242
4343 - name : Run tests
4444 run : flutter test --coverage --coverage-path=lcov.info
Original file line number Diff line number Diff line change @@ -102,6 +102,14 @@ packages:
102102 url: "https://pub.dev"
103103 source: hosted
104104 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"
105113 flutter_provider:
106114 dependency: transitive
107115 description:
@@ -139,6 +147,14 @@ packages:
139147 url: "https://pub.dev"
140148 source: hosted
141149 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"
142158 listenable_stream:
143159 dependency: "direct main"
144160 description:
Original file line number Diff line number Diff line change @@ -31,7 +31,9 @@ dependencies:
3131 disposebag : ^1.5.1
3232 flutter_disposebag : ^1.1.0
3333 flutter_bloc_pattern : ^3.0.0
34+
3435dev_dependencies :
36+ flutter_lints : ^4.0.0
3537 flutter_test :
3638 sdk : flutter
3739
You can’t perform that action at this time.
0 commit comments