Skip to content

Commit 5ae802b

Browse files
committed
Cease pinning CI Flutter to minor version number
Instead, the CI will now upgrade Flutter to latest stable version (as long as it’s 3.x). This is a better trade-off for a sample repo. We don’t need to update several lines in 3 separate YAML files every 3 months. Since this is a small sample repo, it is very unlikely that a minor stable release will break anything.
1 parent 69aa277 commit 5ae802b

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/analyze.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Setup flutter
3434
uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046
3535
with:
36-
flutter-version: "3.29.x"
36+
flutter-version: "3.x"
3737
channel: "stable"
3838
cache: true
3939
- name: Setup melos
@@ -57,7 +57,7 @@ jobs:
5757
- name: Setup flutter
5858
uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046
5959
with:
60-
flutter-version: "3.29.x"
60+
flutter-version: "3.x"
6161
channel: "stable"
6262
cache: true
6363
- name: Setup melos

.github/workflows/licence-check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- name: Install Flutter
4242
uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046
4343
with:
44-
flutter-version: "3.29.x"
44+
flutter-version: "3.x"
4545
channel: "stable"
4646
cache: true
4747
- name: Install Melos

.github/workflows/test-and-build.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046
4242
name: Setup flutter
4343
with:
44-
flutter-version: "3.29.x"
44+
flutter-version: "3.x"
4545
channel: "stable"
4646
cache: true
4747
- uses: bluefireteam/melos-action@ec2c512a52c2f359186ca19bac0be977c44913e6
@@ -71,7 +71,7 @@ jobs:
7171
- name: Setup flutter
7272
uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046
7373
with:
74-
flutter-version: "3.29.x"
74+
flutter-version: "3.x"
7575
channel: "stable"
7676
cache: true
7777
- name: Setup melos
@@ -96,7 +96,7 @@ jobs:
9696
- name: Setup flutter
9797
uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046
9898
with:
99-
flutter-version: "3.29.x"
99+
flutter-version: "3.x"
100100
channel: "stable"
101101
cache: true
102102
architecture: x64

0 commit comments

Comments
 (0)