Skip to content

Commit 65f9c36

Browse files
authored
update lints dependency (dart-lang#711)
1 parent d05bf56 commit 65f9c36

File tree

15 files changed

+43
-46
lines changed

15 files changed

+43
-46
lines changed

.github/workflows/dart.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Created with package:mono_repo v6.5.7
1+
# Created with package:mono_repo v6.6.1
22
name: Dart CI
33
on:
44
push:
@@ -36,27 +36,27 @@ jobs:
3636
name: Checkout repository
3737
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b
3838
- name: mono_repo self validate
39-
run: dart pub global activate mono_repo 6.5.7
39+
run: dart pub global activate mono_repo 6.6.1
4040
- name: mono_repo self validate
4141
run: dart pub global run mono_repo generate --validate
4242
job_002:
43-
name: "analyze_format; linux; Dart 3.0.0; PKG: source_gen; `dart analyze`"
43+
name: "analyze_format; linux; Dart 3.4.0; PKG: source_gen; `dart analyze`"
4444
runs-on: ubuntu-latest
4545
steps:
4646
- name: Cache Pub hosted dependencies
4747
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9
4848
with:
4949
path: "~/.pub-cache/hosted"
50-
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:source_gen;commands:analyze_1"
50+
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:source_gen;commands:analyze_1"
5151
restore-keys: |
52-
os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:source_gen
53-
os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0
52+
os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:source_gen
53+
os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0
5454
os:ubuntu-latest;pub-cache-hosted
5555
os:ubuntu-latest
5656
- name: Setup Dart SDK
5757
uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30
5858
with:
59-
sdk: "3.0.0"
59+
sdk: "3.4.0"
6060
- id: checkout
6161
name: Checkout repository
6262
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b
@@ -143,23 +143,23 @@ jobs:
143143
if: "always() && steps.source_gen_pub_upgrade.conclusion == 'success'"
144144
working-directory: source_gen
145145
job_004:
146-
name: "unit_test; linux; Dart 3.0.0; PKG: example_usage; `dart test --run-skipped`"
146+
name: "unit_test; linux; Dart 3.4.0; PKG: example_usage; `dart test --run-skipped`"
147147
runs-on: ubuntu-latest
148148
steps:
149149
- name: Cache Pub hosted dependencies
150150
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9
151151
with:
152152
path: "~/.pub-cache/hosted"
153-
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:example_usage;commands:test_0"
153+
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:example_usage;commands:test_0"
154154
restore-keys: |
155-
os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:example_usage
156-
os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0
155+
os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:example_usage
156+
os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0
157157
os:ubuntu-latest;pub-cache-hosted
158158
os:ubuntu-latest
159159
- name: Setup Dart SDK
160160
uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30
161161
with:
162-
sdk: "3.0.0"
162+
sdk: "3.4.0"
163163
- id: checkout
164164
name: Checkout repository
165165
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b
@@ -177,23 +177,23 @@ jobs:
177177
- job_002
178178
- job_003
179179
job_005:
180-
name: "unit_test; linux; Dart 3.0.0; PKG: source_gen; `dart test`"
180+
name: "unit_test; linux; Dart 3.4.0; PKG: source_gen; `dart test`"
181181
runs-on: ubuntu-latest
182182
steps:
183183
- name: Cache Pub hosted dependencies
184184
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9
185185
with:
186186
path: "~/.pub-cache/hosted"
187-
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:source_gen;commands:test_1"
187+
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:source_gen;commands:test_1"
188188
restore-keys: |
189-
os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:source_gen
190-
os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0
189+
os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:source_gen
190+
os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0
191191
os:ubuntu-latest;pub-cache-hosted
192192
os:ubuntu-latest
193193
- name: Setup Dart SDK
194194
uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30
195195
with:
196-
sdk: "3.0.0"
196+
sdk: "3.4.0"
197197
- id: checkout
198198
name: Checkout repository
199199
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b
@@ -279,13 +279,13 @@ jobs:
279279
- job_002
280280
- job_003
281281
job_008:
282-
name: "unit_test; windows; Dart 3.0.0; PKG: source_gen; `dart test`"
282+
name: "unit_test; windows; Dart 3.4.0; PKG: source_gen; `dart test`"
283283
runs-on: windows-latest
284284
steps:
285285
- name: Setup Dart SDK
286286
uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30
287287
with:
288-
sdk: "3.0.0"
288+
sdk: "3.4.0"
289289
- id: checkout
290290
name: Checkout repository
291291
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b

_test_annotations/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: _test_annotations
22
publish_to: none
33

44
environment:
5-
sdk: ^3.0.0
5+
sdk: ^3.4.0
66

77
dev_dependencies:
8-
dart_flutter_team_lints: ^2.0.0
8+
dart_flutter_team_lints: ^3.1.0

example/lib/builder.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
/// This library is **not** intended to be imported by typical end-users unless
1111
/// you are creating a custom compilation pipeline. See documentation for
1212
/// details, and `build.yaml` for how these builders are configured by default.
13-
library source_gen_example.builder;
13+
library;
1414

1515
import 'package:build/build.dart';
1616
import 'package:source_gen/source_gen.dart';

example/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ name: source_gen_example
22
publish_to: none
33

44
environment:
5-
sdk: ^3.0.0
5+
sdk: ^3.4.0
66

77
dependencies:
88
analyzer: '>=5.2.0 <7.0.0'
99
build: ^2.0.0
1010
source_gen: any
1111

1212
dev_dependencies:
13-
dart_flutter_team_lints: ^2.0.0
13+
dart_flutter_team_lints: ^3.1.0
1414

1515
dependency_overrides:
1616
source_gen:

example_usage/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: source_gen_example_usage
22
publish_to: none
33

44
environment:
5-
sdk: ^3.0.0
5+
sdk: ^3.4.0
66

77
dependencies:
88
source_gen_example:
@@ -11,7 +11,7 @@ dependencies:
1111
dev_dependencies:
1212
build_runner: ^2.0.0
1313
build_verify: ^3.0.0
14-
dart_flutter_team_lints: ^2.0.0
14+
dart_flutter_team_lints: ^3.1.0
1515
test: ^1.5.1
1616

1717
dependency_overrides:

example_usage/test/ensure_build_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
@Timeout.factor(2)
66
@TestOn('vm')
77
@Tags(['presubmit-only'])
8-
library test;
8+
library;
99

1010
import 'package:build_verify/build_verify.dart';
1111
import 'package:test/test.dart';

source_gen/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
- Document deduplication behavior for the output of
44
`GeneratorForAnnotation.generateForAnnotatedElement`.
55
- Support all the glob quotes.
6+
- Require Dart 3.4.0
67

78
## 1.5.0
89

source_gen/lib/builder.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
/// This library is **not** intended to be imported by typical end-users unless
1111
/// you are creating a custom compilation pipeline. See documentation for
1212
/// details, and `build.yaml` for how these builders are configured by default.
13-
library source_gen.builder;
13+
library;
1414

1515
import 'package:build/build.dart';
1616
import 'package:glob/glob.dart';

source_gen/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: >-
55
repository: https://github.com/dart-lang/source_gen/tree/master/source_gen
66

77
environment:
8-
sdk: ^3.0.0
8+
sdk: ^3.4.0
99

1010
dependencies:
1111
analyzer: '>=5.2.0 <7.0.0'
@@ -21,6 +21,6 @@ dev_dependencies:
2121
_test_annotations:
2222
path: ../_test_annotations
2323
build_test: ^2.0.0
24-
dart_flutter_team_lints: ^2.0.0
24+
dart_flutter_team_lints: ^3.1.0
2525
term_glyph: ^1.2.0
2626
test: ^1.16.0

source_gen/test/builder_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// BSD-style license that can be found in the LICENSE file.
44

55
@TestOn('vm')
6-
library test;
6+
library;
77

88
import 'dart:async';
99

0 commit comments

Comments
 (0)