File tree Expand file tree Collapse file tree 6 files changed +19
-142
lines changed Expand file tree Collapse file tree 6 files changed +19
-142
lines changed Original file line number Diff line number Diff line change 1
- name : netglade_analysis test
1
+ name : CI
2
2
3
3
on :
4
4
push :
5
5
branches :
6
6
- main
7
- tags-ignore :
8
- - ' netglade_analysis-v*'
9
- paths :
10
- - ' packages/netglade_analysis/**'
11
7
pull_request :
12
- branches :
13
- - main
14
- paths :
15
- - ' packages/netglade_analysis/**'
8
+ workflow_dispatch :
16
9
17
10
jobs :
18
11
test :
19
12
runs-on : ubuntu-latest
20
13
strategy :
21
14
fail-fast : false
22
- defaults :
23
- run :
24
- working-directory : packages/netglade_analysis
25
15
26
16
steps :
27
17
- uses : actions/checkout@v4
28
- - uses : dart-lang/setup-dart@v1
18
+
19
+ - name : Configure FVM
20
+ uses : kuhnroyal/flutter-fvm-config-action@v2
21
+ id : fvm-config-action
22
+ - name : Setup Flutter and Dart
23
+ uses : subosito/flutter-action@v2
29
24
with :
30
- sdk : 3.5.0
25
+ flutter-version : ${{ steps.fvm-config-action.outputs.FLUTTER_VERSION }}
26
+ channel : ${{ steps.fvm-config-action.outputs.FLUTTER_CHANNEL }}
31
27
32
- - name : Install Dependencies
33
- run : dart pub get
28
+ - name : Setup Melos
29
+ uses : bluefireteam/melos-action@v2
34
30
35
31
- name : Format
36
32
run : dart format --line-length 120 --set-exit-if-changed .
37
33
38
- - name : Analyze
39
- run : dart analyze .
34
+ - name : Dart Analyze
35
+ run : melos run lint:dart
40
36
41
37
- name : Install DCM
42
38
uses : CQLabs/setup-dcm@v1
55
51
fatal_performance : true
56
52
fatal_warnings : true
57
53
58
- - name : Dry Publish
59
- run : dart pub publish --dry-run
54
+ - name : Dry Publish Packages
55
+ run : melos publish --dry-run
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ dev_dependencies:
19
19
flutter_test :
20
20
sdk : flutter
21
21
mocktail : ^1.0.0
22
- netglade_analysis : ^10 .0.0
22
+ netglade_analysis : ^12 .0.0
23
23
test : ^1.24.6
24
24
25
25
flutter :
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ typedef OnTakingTooLongCallback = void Function();
7
7
extension FutureExtensions <T > on Future <T > {
8
8
static const standardProlongTimeMs = 300 ;
9
9
10
- /// If [ this] future taking longer than [duration] to execute - [callback] is called.
10
+ /// If ` this` future taking longer than [duration] to execute - [callback] is called.
11
11
Future <T > onTakingTooLong (
12
12
Duration duration,
13
13
OnTakingTooLongCallback callback,
Original file line number Diff line number Diff line change @@ -17,5 +17,5 @@ dependencies:
17
17
mocktail : ^1.0.0
18
18
19
19
dev_dependencies :
20
- netglade_analysis : ^10 .0.0
20
+ netglade_analysis : ^12 .0.0
21
21
test : ^1.24.6
You can’t perform that action at this time.
0 commit comments