Skip to content

Commit fc9114c

Browse files
committed
- Updated Flutter version in GitHub workflows to use pubspec.yaml
- Specified minimum Flutter version in `pubspec.yaml`
1 parent eec12b6 commit fc9114c

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

.github/workflows/code_quality.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Setup Flutter
1818
uses: subosito/flutter-action@v2
1919
with:
20-
flutter-version: '3.24.0'
20+
flutter-version-file: pubspec.yaml
2121
channel: 'stable'
2222
cache: true
2323

.github/workflows/flutter_ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Setup Flutter
2828
uses: subosito/flutter-action@v2
2929
with:
30-
flutter-version: '3.24.0'
30+
flutter-version-file: pubspec.yaml
3131
channel: 'stable'
3232
cache: true
3333

@@ -66,7 +66,7 @@ jobs:
6666
- name: Setup Flutter
6767
uses: subosito/flutter-action@v2
6868
with:
69-
flutter-version: '3.24.0'
69+
flutter-version-file: pubspec.yaml
7070
channel: 'stable'
7171
cache: true
7272

@@ -102,7 +102,7 @@ jobs:
102102
- name: Setup Flutter
103103
uses: subosito/flutter-action@v2
104104
with:
105-
flutter-version: '3.24.0'
105+
flutter-version-file: pubspec.yaml
106106
channel: 'stable'
107107
cache: true
108108

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Setup Flutter
4040
uses: subosito/flutter-action@v2
4141
with:
42-
flutter-version: '3.24.0'
42+
flutter-version-file: pubspec.yaml
4343
channel: 'stable'
4444
cache: true
4545

pubspec.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ version: 1.0.0+1
2020

2121
environment:
2222
sdk: ^3.9.0
23+
flutter: ">=3.22.0"
2324

2425
# Dependencies specify other packages that your package needs in order to work.
2526
# To automatically upgrade your package dependencies to the latest versions

0 commit comments

Comments
 (0)