Skip to content

Commit 66c5875

Browse files
feat(deps): Update minimum required Flutter version to 3.22.0 and minimum required Dart version to 3.4.0
1 parent b86e02b commit 66c5875

File tree

23 files changed

+459
-531
lines changed

23 files changed

+459
-531
lines changed

.github/actions/ci/action.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,16 @@ name: Shared CI Workflow
55

66
inputs:
77
github_token:
8-
description: "Github token used to access contract test harness."
8+
description: 'Github token used to access contract test harness.'
99
required: true
10+
flutter_version:
11+
description: 'The Flutter version to install'
12+
required: false
13+
default: '3.29.3'
14+
dart_version:
15+
description: 'The Dart version to install'
16+
required: false
17+
default: '3.7.2'
1018

1119
description: Shared build and test for CI and release.
1220
runs:
@@ -15,12 +23,12 @@ runs:
1523
- name: Install Dart
1624
uses: dart-lang/setup-dart@v1
1725
with:
18-
sdk: stable
26+
sdk: ${{ inputs.dart_version }}
1927

2028
- name: Install Flutter
2129
uses: subosito/flutter-action@v2
2230
with:
23-
flutter-version: '3.16.3'
31+
flutter-version: ${{ inputs.flutter_version }}
2432
channel: 'stable'
2533

2634
- name: Install Melos

.github/actions/publish/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ runs:
1212
- name: Install Dart
1313
uses: dart-lang/setup-dart@v1
1414
with:
15-
sdk: stable
15+
sdk: '3.7.2'
1616

1717
- name: Install Flutter
1818
uses: subosito/flutter-action@v2
1919
with:
20-
flutter-version: '3.16.3'
20+
flutter-version: '3.29.3'
2121
channel: 'stable'
2222

2323
- name: Install Dependencies

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ on:
1212

1313
jobs:
1414
build-test:
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
versions:
19+
- { flutter: '3.22.0', dart: '3.4.0' }
20+
- { flutter: '3.29.3', dart: '3.7.2' }
1521
runs-on: ubuntu-latest
1622
steps:
1723
- uses: actions/checkout@v3
@@ -20,3 +26,5 @@ jobs:
2026
uses: ./.github/actions/ci
2127
with:
2228
github_token: ${{ secrets.GITHUB_TOKEN }}
29+
flutter_version: ${{ matrix.versions.flutter }}
30+
dart_version: ${{ matrix.versions.dart }}

apps/flutter_client_contract_test_service/bin/contract_test_service.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ class TestApiImpl extends SdkTestApi {
2626
'inline-context',
2727
'anonymous-redaction',
2828
'client-prereq-events',
29+
'auto-env-attributes',
2930
];
3031

3132
static const clientUrlPrefix = '/client/';

0 commit comments

Comments
 (0)