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 2626 strategy :
2727 fail-fast : false
2828 matrix :
29- sdk : [stable , dev]
29+ sdk : [3.6 , dev]
3030 steps :
3131 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
3232 - uses : dart-lang/setup-dart@e630b99d28a3b71860378cafdc2a067c71107f94
3838 - run : dart analyze --fatal-infos
3939
4040 - run : dart format --output=none --set-exit-if-changed .
41- if : ${{ matrix.sdk == 'stable ' }}
41+ if : ${{ matrix.sdk == 'dev ' }}
4242
4343 - run : dart test
Original file line number Diff line number Diff line change @@ -180,9 +180,7 @@ class ApiUseCollector extends RecursiveAstVisitor implements SurveyorVisitor {
180180 return ;
181181 }
182182
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! ;
186184
187185 if (enclosingElement.kind == ElementKind .CLASS ) {
188186 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.
44publish_to : none
55
66environment :
7- sdk : ^3.1 .0
7+ sdk : ^3.6 .0
88
99dependencies :
10- analyzer : ^6 .0.0
11- args : ^2.0 .0
10+ analyzer : ^7 .0.0
11+ args : ^2.1 .0
1212 cli_util : ^0.4.0
13- collection : ^1.16 .0
13+ collection : ^1.19 .0
1414 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
1717 yaml : ^3.0.0
1818
1919dev_dependencies :
2020 checks : ^0.3.0
2121 dart_flutter_team_lints : ^3.0.0
22- test : ^1.22.0
22+ test : ^1.25.9
2323 test_descriptor : ^2.0.0
You can’t perform that action at this time.
0 commit comments