File tree Expand file tree Collapse file tree 3 files changed +10
-12
lines changed Expand file tree Collapse file tree 3 files changed +10
-12
lines changed Original file line number Diff line number Diff line change 26
26
strategy :
27
27
fail-fast : false
28
28
matrix :
29
- sdk : [stable , dev]
29
+ sdk : [3.6 , dev]
30
30
steps :
31
31
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
32
32
- uses : dart-lang/setup-dart@e630b99d28a3b71860378cafdc2a067c71107f94
38
38
- run : dart analyze --fatal-infos
39
39
40
40
- run : dart format --output=none --set-exit-if-changed .
41
- if : ${{ matrix.sdk == 'stable ' }}
41
+ if : ${{ matrix.sdk == 'dev ' }}
42
42
43
43
- run : dart test
Original file line number Diff line number Diff line change @@ -180,9 +180,7 @@ class ApiUseCollector extends RecursiveAstVisitor implements SurveyorVisitor {
180
180
return ;
181
181
}
182
182
183
- //TODO: fix as soon as enclosingElement3 is on Dart stable
184
- // ignore: deprecated_member_use
185
- var enclosingElement = element.enclosingElement! ;
183
+ var enclosingElement = element.enclosingElement3! ;
186
184
187
185
if (enclosingElement.kind == ElementKind .CLASS ) {
188
186
final name = enclosingElement.name! ;
Original file line number Diff line number Diff line change @@ -4,20 +4,20 @@ description: A tool to calculate the API usage for a package.
4
4
publish_to : none
5
5
6
6
environment :
7
- sdk : ^3.1 .0
7
+ sdk : ^3.6 .0
8
8
9
9
dependencies :
10
- analyzer : ^6 .0.0
11
- args : ^2.0 .0
10
+ analyzer : ^7 .0.0
11
+ args : ^2.1 .0
12
12
cli_util : ^0.4.0
13
- collection : ^1.16 .0
13
+ collection : ^1.19 .0
14
14
http : ^1.0.0
15
- path : ^1.8 .0
16
- pub_semver : ^2.0.0
15
+ path : ^1.9 .0
16
+ pub_semver : ^2.1.4
17
17
yaml : ^3.0.0
18
18
19
19
dev_dependencies :
20
20
checks : ^0.3.0
21
21
dart_flutter_team_lints : ^3.0.0
22
- test : ^1.22.0
22
+ test : ^1.25.9
23
23
test_descriptor : ^2.0.0
You can’t perform that action at this time.
0 commit comments