Skip to content

Commit 3fd508e

Browse files
authored
Support the latest pkg:analyzer and prepare to release v3.5.1 (#760)
* update github config
1 parent d7099dc commit 3fd508e

File tree

4 files changed

+14
-6
lines changed

4 files changed

+14
-6
lines changed

.github/workflows/dart.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: Dart CI
33
on:
44
push:
55
branches:
6-
- main
76
- master
7+
- "3_x"
88
pull_request:
99
schedule:
1010
- cron: "0 0 * * 0"

json_serializable/CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
## 3.5.1-dev
1+
## 3.5.1
22

33
- Improved error messages for unsupported types.
44
- `package:json_serializable/type_helper.dart`
55
- Made the third parameter to `UnsupportedTypeError` positional (optional).
6+
- Require `package:analyzer` `>=0.39.0 <0.42.0`.
67

78
## 3.5.0
89

json_serializable/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
name: json_serializable
2-
version: 3.5.0-dev
2+
version: 3.5.1
33
description: >-
44
Automatically generate code for converting to and from JSON by annotating
55
Dart classes.
6-
homepage: https://github.com/google/json_serializable.dart
6+
repository: https://github.com/google/json_serializable.dart
77
environment:
88
sdk: '>=2.7.0 <3.0.0'
99

1010
dependencies:
11-
analyzer: '>=0.39.0 <0.41.0'
11+
analyzer: '>=0.39.0 <0.42.0'
1212
build: '>=0.12.6 <2.0.0'
1313
build_config: '>=0.2.6 <0.5.0'
1414

mono_repo.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,14 @@
22
self_validate: analyzer_and_format
33

44
github:
5-
cron: '0 0 * * 0' # “At 00:00 (UTC) on Sunday.”
5+
on:
6+
push:
7+
branches:
8+
- master
9+
- 3_x
10+
pull_request:
11+
schedule:
12+
- cron: "0 0 * * 0"
613

714
merge_stages:
815
- analyzer_and_format

0 commit comments

Comments
 (0)