Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update to dart 3.6 #1217

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
flutter-version:
# The version of Flutter to use should use the minimum Dart SDK version supported by the package,
# refer to https://docs.flutter.dev/development/tools/sdk/releases.
- "3.24.0"
- "3.27.0"
- "3.x"
test:
# E2E tests for the test command
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/spdx_license.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: 🎯 Setup Dart
uses: dart-lang/setup-dart@v1
with:
sdk: 3.5.0
sdk: 3.6.0

- name: 📦 Install Dependencies
run: dart pub get
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
- name: 🎯 Setup Dart
uses: dart-lang/setup-dart@v1
with:
sdk: 3.5.0
sdk: 3.6.0

- name: 📦 Install Dependencies
run: dart pub get
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_optimizer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
build_hooks:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/dart_package.yml@v1
with:
dart_sdk: 3.5.0
dart_sdk: 3.6.0
working_directory: bricks/test_optimizer/hooks

verify_bundle:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/very_good_cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

- uses: subosito/flutter-action@v2.8.0
with:
flutter-version: 3.24.0
flutter-version: 3.27.0

- name: Install Dependencies
run: flutter pub get
Expand Down
2 changes: 1 addition & 1 deletion bricks/test_optimizer/hooks/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: hooks
publish_to: none

environment:
sdk: ^3.5.0
sdk: ^3.6.0

dependencies:
mason: ^0.1.0
Expand Down
2 changes: 1 addition & 1 deletion e2e/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 0.1.0+1
publish_to: none

environment:
sdk: ^3.5.0
sdk: ^3.6.0

dev_dependencies:
mason: ^0.1.0
Expand Down
2 changes: 1 addition & 1 deletion e2e/test/commands/test/async_main/fixture/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 0.1.0+1
publish_to: none

environment:
sdk: ^3.5.0
sdk: ^3.6.0

dev_dependencies:
test: ^1.24.3
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 0.1.0+1
publish_to: none

environment:
sdk: ^3.5.0
sdk: ^3.6.0

dev_dependencies:
test: ^1.24.3
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ final testOptimizerBundle = MasonBundle.fromJson(<String, dynamic>{
{
"path": "pubspec.yaml",
"data":
"bmFtZTogaG9va3MKcHVibGlzaF90bzogbm9uZQoKZW52aXJvbm1lbnQ6CiAgc2RrOiBeMy41LjAKCmRlcGVuZGVuY2llczoKICBtYXNvbjogXjAuMS4wCiAgcGF0aDogXjEuOC4xCgojIEJld2FyZTogb24gaG9va3MsIGV2ZW4gZGV2IGRlcGVuZGVuY2llcyBoYXZlIHRvIGJlIGNvbXBhdGlibGUgdG8gYWxsIGRhcnQgdmVyc2lvbnMgY292ZXJlZCBieQojIHRoZSBzZGsgY29uc3RyYWludHMgYWJvdmUKZGV2X2RlcGVuZGVuY2llczoKICBtb2NrdGFpbDogXjEuMC4wCiAgdGVzdDogXjEuMjUuMAogIHZlcnlfZ29vZF9hbmFseXNpczogXjcuMC4wCg==",
"bmFtZTogaG9va3MKcHVibGlzaF90bzogbm9uZQoKZW52aXJvbm1lbnQ6CiAgc2RrOiBeMy42LjAKCmRlcGVuZGVuY2llczoKICBtYXNvbjogXjAuMS4wCiAgcGF0aDogXjEuOC4xCgojIEJld2FyZTogb24gaG9va3MsIGV2ZW4gZGV2IGRlcGVuZGVuY2llcyBoYXZlIHRvIGJlIGNvbXBhdGlibGUgdG8gYWxsIGRhcnQgdmVyc2lvbnMgY292ZXJlZCBieQojIHRoZSBzZGsgY29uc3RyYWludHMgYWJvdmUKZGV2X2RlcGVuZGVuY2llczoKICBtb2NrdGFpbDogXjEuMC4wCiAgdGVzdDogXjEuMjUuMAogIHZlcnlfZ29vZF9hbmFseXNpczogXjcuMC4wCg==",
"type": "text"
},
{
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ documentation: https://cli.vgv.dev/docs/overview
topics: [cli, codegen, test, template, boilerplate]

environment:
sdk: ^3.5.0
sdk: ^3.6.0

dependencies:
args: ^2.6.0
Expand Down
2 changes: 1 addition & 1 deletion test/src/commands/create/commands/dart_cli_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Run "very_good help" to see global options.''',
const pubspec = '''
name: example
environment:
sdk: ^3.5.0
sdk: ^3.6.0
''';

void main() {
Expand Down
2 changes: 1 addition & 1 deletion test/src/commands/create/commands/dart_package_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Run "very_good help" to see global options.''',
const pubspec = '''
name: example
environment:
sdk: ^3.5.0
sdk: ^3.6.0
''';

void main() {
Expand Down
2 changes: 1 addition & 1 deletion test/src/commands/create/commands/docs_site_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Run "very_good help" to see global options.''',
const pubspec = '''
name: example
environment:
sdk: ^3.5.0
sdk: ^3.6.0
''';

void main() {
Expand Down
2 changes: 1 addition & 1 deletion test/src/commands/create/commands/flame_game_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Run "very_good help" to see global options.''',
const pubspec = '''
name: example
environment:
sdk: ^3.5.0
sdk: ^3.6.0
''';

void main() {
Expand Down
2 changes: 1 addition & 1 deletion test/src/commands/create/commands/flutter_app_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Run "very_good help" to see global options.''',
const pubspec = '''
name: example
environment:
sdk: ^3.5.0
sdk: ^3.6.0
''';

void main() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Run "very_good help" to see global options.''',
const pubspec = '''
name: example
environment:
sdk: ^3.5.0
sdk: ^3.6.0
''';

void main() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Run "very_good help" to see global options.''',
const pubspec = '''
name: example
environment:
sdk: ^3.5.0
sdk: ^3.6.0
''';

void main() {
Expand Down
2 changes: 1 addition & 1 deletion test/src/commands/create/create_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Run "very_good help" to see global options.'''
const pubspec = '''
name: example
environment:
sdk: ^3.5.0
sdk: ^3.6.0
''';

void main() {
Expand Down
2 changes: 1 addition & 1 deletion tool/spdx_license/hooks/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ issue_tracker: https://github.com/VeryGoodOpenSource/very_good_cli/issues
publish_to: none

environment:
sdk: ^3.5.0
sdk: ^3.6.0

dependencies:
archive: ^3.4.10
Expand Down
2 changes: 1 addition & 1 deletion tool/spdx_license/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ issue_tracker: https://github.com/VeryGoodOpenSource/very_good_cli/issues
publish_to: none

environment:
sdk: ^3.5.0
sdk: ^3.6.0

dev_dependencies:
test: ^1.25.2
Expand Down
Loading