Skip to content

Commit 1f11e6c

Browse files
committed
fix: sample app build
1 parent 5bab0fb commit 1f11e6c

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

.github/workflows/stream_feeds_flutter_workflow.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,10 @@ jobs:
4545
run: melos bootstrap --verbose
4646

4747
- name: Dart Analyze
48-
run: |
49-
melos run analyze
48+
run: melos run analyze
5049

5150
- name: Check formatting
52-
run: |
53-
melos run format:verify
51+
run: melos run format:verify
5452

5553
## Test and coverage reporting
5654
- name: "Flutter Test"
@@ -72,18 +70,18 @@ jobs:
7270
with:
7371
fetch-depth: 0
7472

75-
- name: ⚙️ Set up Java
76-
uses: actions/setup-java@v3
77-
with:
78-
distribution: "zulu"
79-
java-version: "17"
80-
8173
- name: Install Flutter
8274
uses: subosito/flutter-action@v2
8375
with:
8476
cache: true
77+
cache-key: flutter-:os:-:channel:-:version:-:arch:-:hash:-${{ hashFiles('**/pubspec.lock') }}
8578
channel: ${{ env.FLUTTER_CHANNEL }}
86-
flutter-version: ${{ env.FLUTTER_VERSION }}
79+
80+
- name: Install Tools
81+
run: flutter pub global activate melos
82+
83+
- name: Bootstrap Workspace
84+
run: melos bootstrap --verbose
8785

8886
- name: Build APK
8987
working-directory: sample_app

0 commit comments

Comments
 (0)