File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,32 +11,44 @@ jobs:
1111 runs-on : ubuntu-latest
1212
1313 steps :
14- - uses : actions/checkout@v4
14+ # Checkout repo
15+ - name : Checkout repository
16+ uses : actions/checkout@v4
1517 with :
1618 submodules : recursive
1719 fetch-depth : 0
1820
19- # Install Flutter (includes correct Dart SDK )
21+ # Install Flutter (FORCE 3.29, avoid old 3.22 cache )
2022 - name : Setup Flutter
2123 uses : subosito/flutter-action@v2
2224 with :
23- flutter-version : " 3.29.0" # Dart >= 3.7
25+ flutter-version : " 3.29.0"
2426 channel : stable
2527 cache : true
28+ cache-key : flutter-3.29.0
2629
27- - name : Check versions
30+ # Debug — verify correct Flutter & Dart
31+ - name : Verify Flutter & Dart versions
2832 run : |
33+ echo "Flutter path:"
34+ which flutter
35+ echo "Flutter version:"
2936 flutter --version
37+ echo "Dart version:"
3038 dart --version
3139
32- - name : Install dependencies (workspace aware)
40+ # Install dependencies (workspace aware)
41+ - name : Install dependencies
3342 run : flutter pub get
3443
44+ # Check formatting
3545 - name : Verify formatting
3646 run : dart format --output=none --set-exit-if-changed .
3747
48+ # Static analysis
3849 - name : Analyze project
3950 run : flutter analyze
4051
52+ # Run tests
4153 - name : Run tests
4254 run : flutter test
You can’t perform that action at this time.
0 commit comments