Skip to content

Commit 181c2d0

Browse files
committed
Fix CI
1 parent 007c18d commit 181c2d0

1 file changed

Lines changed: 5 additions & 15 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,8 @@ jobs:
1414
steps:
1515
- name: Checkout code
1616
uses: actions/checkout@v4
17-
- name: Install melos
18-
run: |
19-
flutter pub global activate melos
20-
echo "$HOME/.pub-cache/bin" >> $GITHUB_PATH
21-
echo "$HOME/AppData/Local/Pub/Cache/bin" >> $GITHUB_PATH
22-
- name: Initialize workspace
23-
run: melos bootstrap
17+
- name: Install melos and initialize workspace
18+
uses: bluefireteam/melos-action@v3
2419
- name: Check format
2520
run: melos format --output none --set-exit-if-changed
2621

@@ -32,12 +27,7 @@ jobs:
3227
steps:
3328
- name: Checkout code
3429
uses: actions/checkout@v4
35-
- name: Install melos
36-
run: |
37-
flutter pub global activate melos
38-
echo "$HOME/.pub-cache/bin" >> $GITHUB_PATH
39-
echo "$HOME/AppData/Local/Pub/Cache/bin" >> $GITHUB_PATH
40-
- name: Initialize workspace
41-
run: melos bootstrap
30+
- name: Install melos and initialize workspace
31+
uses: bluefireteam/melos-action@v3
4232
- name: Lint using flutter analyze
43-
run: melos analyze
33+
run: flutter analyze

0 commit comments

Comments
 (0)