Skip to content

Commit a94cdf5

Browse files
chore: upgrade ci to use flutter 3.35.0 (#380)
* chore: upgrade ci to use flutter 3.32.0 * chore: use flutter 3.35.0 * chore: bump examples and fix lints
1 parent 7151b46 commit a94cdf5

File tree

13 files changed

+119
-92
lines changed

13 files changed

+119
-92
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,21 @@ jobs:
1818
uses: ./.github/workflows/flutter_package.yml
1919
with:
2020
flutter_channel: stable
21-
flutter_version: 3.24.0
21+
flutter_version: 3.35.0
2222
setup: flutter doctor --verbose
2323
working_directory: examples/flutter_package
2424

2525
verify-pana-dart:
2626
uses: ./.github/workflows/pana.yml
2727
with:
28-
pana_version: 0.22.10
28+
pana_version: 0.22.24
2929
min_score: 95
3030
working_directory: examples/dart_package
3131

3232
verify-pana-flutter:
3333
uses: ./.github/workflows/pana.yml
3434
with:
35-
pana_version: 0.22.10
35+
pana_version: 0.22.24
3636
min_score: 95
3737
working_directory: examples/flutter_package
3838

CODE_OF_CONDUCT.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ further defined and clarified by project maintainers.
5555
## Enforcement
5656

5757
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58-
reported by contacting the project team at [email protected]. All
58+
reported by contacting the project team at <[email protected]>. All
5959
complaints will be reviewed and investigated and will result in a response that
6060
is deemed necessary and appropriate to the circumstances. The project team is
6161
obligated to maintain confidentiality with regard to the reporter of an incident.
@@ -68,9 +68,9 @@ members of the project's leadership.
6868
## Attribution
6969

7070
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71-
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
71+
available at <https://www.contributor-covenant.org/version/1/4/code-of-conduct.html>
7272

7373
[homepage]: https://www.contributor-covenant.org
7474

7575
For answers to common questions about this code of conduct, see
76-
https://www.contributor-covenant.org/faqs
76+
<https://www.contributor-covenant.org/faqs>

CONTRIBUTING.md

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -31,73 +31,73 @@ accepted.
3131

3232
1. Go to the **main** branch and ensure it is up to date with the remote:
3333

34-
```bash
35-
git checkout main
36-
git pull
37-
```
34+
```bash
35+
git checkout main
36+
git pull
37+
```
3838

39-
2. Run the script that will generate the CHANGELOG for you:
39+
1. Run the script that will generate the CHANGELOG for you:
4040

41-
```bash
42-
sh tool/release_ready.sh <new-version>
43-
```
41+
```bash
42+
sh tool/release_ready.sh <new-version>
43+
```
4444

45-
**Note 💡** : You should follow semantic versioning and bump according to the changes the new version makes.
45+
**Note 💡** : You should follow semantic versioning and bump according to the changes the new version makes.
4646

47-
`<new-version>`: The version of this new extension release, for example: 0.2.1
47+
`<new-version>`: The version of this new extension release, for example: 0.2.1
4848

49-
The release_ready script will:
49+
The release_ready script will:
5050

51-
- Create a new branch just for this release and checkout to it.
52-
- Automatically update the CHANGELOG file with the associated changes.
51+
- Create a new branch just for this release and checkout to it.
52+
- Automatically update the CHANGELOG file with the associated changes.
5353

54-
3. Manually remove the *(deps-dev)* scope or other entries of the conventional commits entries in the CHANGELOG
55-
4. Add the changes and commit with the commit message that the *release_ready* script outputted.
56-
5. Raise a Pull Request, the title should be the same as the commit message outputted by the *release_ready* script.
57-
6. When the Pull Request is merged, tag a new release to the commit. When adding the tag ensure:
54+
1. Manually remove the *(deps-dev)* scope or other entries of the conventional commits entries in the CHANGELOG
55+
1. Add the changes and commit with the commit message that the *release_ready* script outputted.
56+
1. Raise a Pull Request, the title should be the same as the commit message outputted by the *release_ready* script.
57+
1. When the Pull Request is merged, tag a new release to the commit. When adding the tag ensure:
5858
- The tag is pointing to the commit that you recently merged.
5959
- The title of the tag should be v<new-version>
6060
- The title of the release should be v<new-version>
6161
- The description should be a raw copy of the CHANGELOG’s file version’s body you recently crafted (without the version header). If in doubt, see the other released tags as an example.
62-
7. After the release is tagged the new changes will be available by the the following syntax:
62+
1. After the release is tagged the new changes will be available by the the following syntax:
6363

64-
```yaml
65-
VeryGoodOpenSource/..@v<new-version>
66-
```
64+
```yaml
65+
VeryGoodOpenSource/..@v<new-version>
66+
```
6767

68-
Where:
68+
Where:
6969

70-
- `<new-version>`: The version of this new workflow or action, for example: 0.2.1
71-
8. Go to the **main** branch and ensure it is up to date with the remote:
70+
- `<new-version>`: The version of this new workflow or action, for example: 0.2.1
7271

73-
```yaml
74-
git checkout main
75-
git pull
76-
```
72+
1. Go to the **main** branch and ensure it is up to date with the remote:
7773

78-
9. Retag the major release.
74+
```yaml
75+
git checkout main
76+
git pull
77+
```
7978

80-
For the Workflow or Action to be updated for those users using the `@<major-version` syntax we will require to retag the major release.
79+
1. Retag the major release.
8180

82-
```yaml
83-
sh tool/retag_v<major-version>.sh <new-version>
84-
```
81+
For the Workflow or Action to be updated for those users using the `@<major-version` syntax we will require to retag the major release.
8582

86-
Where:
83+
```yaml
84+
sh tool/retag_v<major-version>.sh <new-version>
85+
```
8786

88-
- `<major-version>`: Is the major version of the release, for example in 2.16.3 the major version is 2. For more information see the [semantic versioning documentation](https://semver.org/).
89-
- `<new-version>`: The version of this new workflow or action, for example: 0.2.1.
87+
Where:
9088

89+
- `<major-version>`: Is the major version of the release, for example in 2.16.3 the major version is 2. For more information see the [semantic versioning documentation](https://semver.org/).
90+
- `<new-version>`: The version of this new workflow or action, for example: 0.2.1.
9191

92-
If your change is a breaking change and requires a new major release you should update the name of the retag script and its `v<major-version>` instances.
92+
If your change is a breaking change and requires a new major release you should update the name of the retag script and its `v<major-version>` instances.
9393

94-
10. After the retag the new changes will be available by the the following syntax:
94+
1. After the retag the new changes will be available by the the following syntax:
9595

96-
```yaml
97-
VeryGoodOpenSource/..@v<major-version>
98-
```
96+
```yaml
97+
VeryGoodOpenSource/..@v<major-version>
98+
```
9999

100-
Where: `<major-version>`: Is the major version of the release, for example in 2.16.3 the major version is 2. For more information see the [semantic versioning documentation](https://semver.org/).
100+
Where: `<major-version>`: Is the major version of the release, for example in 2.16.3 the major version is 2. For more information see the [semantic versioning documentation](https://semver.org/).
101101

102102
[conventional_commits_link]: https://www.conventionalcommits.org/en/v1.0.0
103103
[bug_report_link]: https://github.com/VeryGoodOpenSource/very_good_workflows/issues/new?assignees=&labels=bug&template=bug_report.md&title=fix%3A+

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Reusable [GitHub workflows][github_workflows_link] used internally at [Very Good
1414

1515
## Documentation 📝
1616

17-
For official documentation, please visit https://workflows.vgv.dev.
17+
For official documentation, please visit <https://workflows.vgv.dev>.
1818

1919
## Quick Start 🚀
2020

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
include: package:very_good_analysis/analysis_options.4.0.0.yaml
1+
include: package:very_good_analysis/analysis_options.yaml

examples/dart_package/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ version: 1.0.0+1
44
publish_to: none
55

66
environment:
7-
sdk: ">=2.19.0 <3.0.0"
7+
sdk: ^3.8.0
88

99
dev_dependencies:
10-
test: ^1.19.2
11-
very_good_analysis: ^4.0.0
10+
test: ^1.26.3
11+
very_good_analysis: ^10.0.0

examples/dart_package/test/src/dart_package_test.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1+
// Can cause false positives.
12
// ignore_for_file: prefer_const_constructors
23
import 'package:dart_package/dart_package.dart';
34
import 'package:test/test.dart';
45

56
void main() {
6-
group('DartPackage', () {
7+
group(DartPackage, () {
78
test('can be instantiated', () {
89
expect(DartPackage(), isNotNull);
910
});
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
include: package:very_good_analysis/analysis_options.4.0.0.yaml
1+
include: package:very_good_analysis/analysis_options.yaml

examples/flutter_package/pubspec.lock

Lines changed: 57 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -21,34 +21,34 @@ packages:
2121
dependency: transitive
2222
description:
2323
name: characters
24-
sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
24+
sha256: f71061c654a3380576a52b451dd5532377954cf9dbd272a78fc8479606670803
2525
url: "https://pub.dev"
2626
source: hosted
27-
version: "1.3.0"
27+
version: "1.4.0"
2828
clock:
2929
dependency: transitive
3030
description:
3131
name: clock
32-
sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf
32+
sha256: fddb70d9b5277016c77a80201021d40a2247104d9f4aa7bab7157b7e3f05b84b
3333
url: "https://pub.dev"
3434
source: hosted
35-
version: "1.1.1"
35+
version: "1.1.2"
3636
collection:
3737
dependency: transitive
3838
description:
3939
name: collection
40-
sha256: "4a07be6cb69c84d677a6c3096fcf960cc3285a8330b4603e0d463d15d9bd934c"
40+
sha256: "2f5709ae4d3d59dd8f7cd309b4e023046b57d8a6c82130785d2b0e5868084e76"
4141
url: "https://pub.dev"
4242
source: hosted
43-
version: "1.17.1"
43+
version: "1.19.1"
4444
fake_async:
4545
dependency: transitive
4646
description:
4747
name: fake_async
48-
sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78"
48+
sha256: "5368f224a74523e8d2e7399ea1638b37aecfca824a3cc4dfdf77bf1fa905ac44"
4949
url: "https://pub.dev"
5050
source: hosted
51-
version: "1.3.1"
51+
version: "1.3.3"
5252
flutter:
5353
dependency: "direct main"
5454
description: flutter
@@ -59,51 +59,67 @@ packages:
5959
description: flutter
6060
source: sdk
6161
version: "0.0.0"
62-
js:
62+
leak_tracker:
6363
dependency: transitive
6464
description:
65-
name: js
66-
sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3
65+
name: leak_tracker
66+
sha256: "33e2e26bdd85a0112ec15400c8cbffea70d0f9c3407491f672a2fad47915e2de"
6767
url: "https://pub.dev"
6868
source: hosted
69-
version: "0.6.7"
69+
version: "11.0.2"
70+
leak_tracker_flutter_testing:
71+
dependency: transitive
72+
description:
73+
name: leak_tracker_flutter_testing
74+
sha256: "1dbc140bb5a23c75ea9c4811222756104fbcd1a27173f0c34ca01e16bea473c1"
75+
url: "https://pub.dev"
76+
source: hosted
77+
version: "3.0.10"
78+
leak_tracker_testing:
79+
dependency: transitive
80+
description:
81+
name: leak_tracker_testing
82+
sha256: "8d5a2d49f4a66b49744b23b018848400d23e54caf9463f4eb20df3eb8acb2eb1"
83+
url: "https://pub.dev"
84+
source: hosted
85+
version: "3.0.2"
7086
matcher:
7187
dependency: transitive
7288
description:
7389
name: matcher
74-
sha256: "6501fbd55da300384b768785b83e5ce66991266cec21af89ab9ae7f5ce1c4cbb"
90+
sha256: dc58c723c3c24bf8d3e2d3ad3f2f9d7bd9cf43ec6feaa64181775e60190153f2
7591
url: "https://pub.dev"
7692
source: hosted
77-
version: "0.12.15"
93+
version: "0.12.17"
7894
material_color_utilities:
7995
dependency: transitive
8096
description:
8197
name: material_color_utilities
82-
sha256: "586678f20e112219ed0f73215f01bcdf1d769824ba2ebae45ad918a9bfde9bdb"
98+
sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec
8399
url: "https://pub.dev"
84100
source: hosted
85-
version: "0.3.0"
101+
version: "0.11.1"
86102
meta:
87103
dependency: transitive
88104
description:
89105
name: meta
90-
sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3"
106+
sha256: e3641ec5d63ebf0d9b41bd43201a66e3fc79a65db5f61fc181f04cd27aab950c
91107
url: "https://pub.dev"
92108
source: hosted
93-
version: "1.9.1"
109+
version: "1.16.0"
94110
path:
95111
dependency: transitive
96112
description:
97113
name: path
98-
sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917"
114+
sha256: "75cca69d1490965be98c73ceaea117e8a04dd21217b37b292c9ddbec0d955bc5"
99115
url: "https://pub.dev"
100116
source: hosted
101-
version: "1.8.3"
117+
version: "1.9.1"
102118
sky_engine:
103119
dependency: transitive
104120
description: flutter
105121
source: sdk
106-
version: "0.0.99"
122+
version: "0.0.0"
107123
source_span:
108124
dependency: transitive
109125
description:
@@ -116,18 +132,18 @@ packages:
116132
dependency: transitive
117133
description:
118134
name: stack_trace
119-
sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5
135+
sha256: "8b27215b45d22309b5cddda1aa2b19bdfec9df0e765f2de506401c071d38d1b1"
120136
url: "https://pub.dev"
121137
source: hosted
122-
version: "1.11.0"
138+
version: "1.12.1"
123139
stream_channel:
124140
dependency: transitive
125141
description:
126142
name: stream_channel
127-
sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8"
143+
sha256: "969e04c80b8bcdf826f8f16579c7b14d780458bd97f56d107d3950fdbeef059d"
128144
url: "https://pub.dev"
129145
source: hosted
130-
version: "2.1.1"
146+
version: "2.1.4"
131147
string_scanner:
132148
dependency: transitive
133149
description:
@@ -148,25 +164,34 @@ packages:
148164
dependency: transitive
149165
description:
150166
name: test_api
151-
sha256: daadc9baabec998b062c9091525aa95786508b1c48e9c30f1f891b8bf6ff2e64
167+
sha256: "522f00f556e73044315fa4585ec3270f1808a4b186c936e612cab0b565ff1e00"
152168
url: "https://pub.dev"
153169
source: hosted
154-
version: "0.5.2"
170+
version: "0.7.6"
155171
vector_math:
156172
dependency: transitive
157173
description:
158174
name: vector_math
159-
sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
175+
sha256: d530bd74fea330e6e364cda7a85019c434070188383e1cd8d9777ee586914c5b
160176
url: "https://pub.dev"
161177
source: hosted
162-
version: "2.1.4"
178+
version: "2.2.0"
163179
very_good_analysis:
164180
dependency: "direct dev"
165181
description:
166182
name: very_good_analysis
167-
sha256: ebc48c51db35beeeec8c414e32f7bd78e612bd7f5992ccb0d46e19edaeb40b08
183+
sha256: "96245839dbcc45dfab1af5fa551603b5c7a282028a64746c19c547d21a7f1e3a"
184+
url: "https://pub.dev"
185+
source: hosted
186+
version: "10.0.0"
187+
vm_service:
188+
dependency: transitive
189+
description:
190+
name: vm_service
191+
sha256: "45caa6c5917fa127b5dbcfbd1fa60b14e583afdc08bfc96dda38886ca252eb60"
168192
url: "https://pub.dev"
169193
source: hosted
170-
version: "4.0.0+1"
194+
version: "15.0.2"
171195
sdks:
172-
dart: ">=3.0.0-0 <4.0.0"
196+
dart: ">=3.9.0 <4.0.0"
197+
flutter: ">=3.18.0-18.0.pre.54"

0 commit comments

Comments
 (0)