From b8772b301e3e752d9afaf8f92ab07cf7b8399f1f Mon Sep 17 00:00:00 2001 From: Achintha Isuru Date: Thu, 19 Feb 2026 16:45:03 -0500 Subject: [PATCH] feat: Update Flutter version handling in CI and adjust pubspec files for compatibility --- .github/workflows/mobile-ci.yml | 2 +- apps/mobile/pubspec.lock | 2 +- apps/mobile/pubspec.yaml | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/mobile-ci.yml b/.github/workflows/mobile-ci.yml index 5f18d948..4afa04a4 100644 --- a/.github/workflows/mobile-ci.yml +++ b/.github/workflows/mobile-ci.yml @@ -74,7 +74,7 @@ jobs: - name: 🦋 Set up Flutter uses: subosito/flutter-action@v2 with: - flutter-version: '3.19.x' + flutter-version-file: pubspec.yaml channel: 'stable' cache: true diff --git a/apps/mobile/pubspec.lock b/apps/mobile/pubspec.lock index d9afe13f..9aa8910e 100644 --- a/apps/mobile/pubspec.lock +++ b/apps/mobile/pubspec.lock @@ -1530,4 +1530,4 @@ packages: version: "2.2.3" sdks: dart: ">=3.10.3 <4.0.0" - flutter: ">=3.38.4" + flutter: ">=3.38.4 <4.0.0" diff --git a/apps/mobile/pubspec.yaml b/apps/mobile/pubspec.yaml index 6ffcd99f..bca32555 100644 --- a/apps/mobile/pubspec.yaml +++ b/apps/mobile/pubspec.yaml @@ -3,6 +3,7 @@ publish_to: 'none' description: "A sample project using melos and modular scaffold." environment: sdk: '>=3.10.0 <4.0.0' + flutter: '>=3.38.0 <4.0.0' workspace: - packages/design_system - packages/core