Skip to content

Commit b5fb393

Browse files
committed
fix: 🐛 Added flutter version in github actions
1 parent d0e07b9 commit b5fb393

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

.github/workflows/flutter.yaml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,21 @@ jobs:
1616
build:
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v2
19+
- uses: actions/checkout@v4
2020
- name: Install Flutter
21-
uses: subosito/flutter-action@v1
21+
uses: subosito/flutter-action@v2
22+
with:
23+
flutter-version: '3.10.0'
24+
cache: true
25+
cache-key: 'flutter-macos-stable-3.10.0-apple'
26+
cache-path: '${{ runner.tool_cache }}/flutter/macos-stable-3.10.0-apple'
27+
pub-cache-key: 'flutter-pub-macos-stable-3.10.0-apple'
28+
2229
- name: Install dependencies
23-
run: flutter packages get
30+
run: flutter pub get
2431
- name: Code Formatting
2532
run: dart format --set-exit-if-changed .
33+
- name: Code Analyse
34+
run: dart analyze
2635
- name: Check Publish Warnings
2736
run: flutter pub publish --dry-run

lib/src/utils/overlay_manager.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ class OverlayManager {
196196
final controllerLength = controllers.length;
197197
return [
198198
for (var i = 0; i < controllerLength; i++)
199-
if (controllers[i].linkedShowcaseDataModel case final model?) model
199+
if (controllers[i].linkedShowcaseDataModel case final model?) model,
200200
];
201201
}
202202

0 commit comments

Comments
 (0)