Skip to content

Commit d528c4d

Browse files
committed
Update CI
1 parent b162a0a commit d528c4d

1 file changed

Lines changed: 13 additions & 18 deletions

File tree

.github/workflows/ci.yml

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,23 @@ on:
66
workflow_dispatch:
77

88
jobs:
9-
check-format:
10-
name: Check format using flutter format
11-
runs-on: ubuntu-latest
12-
container: ghcr.io/cirruslabs/flutter:stable
13-
14-
steps:
15-
- name: Checkout code
16-
uses: actions/checkout@v4
17-
- name: Install melos and initialize workspace
18-
uses: bluefireteam/melos-action@v3
19-
- name: Check format
20-
run: melos format --output none --set-exit-if-changed
21-
229
lint:
2310
name: Lint
2411
runs-on: ubuntu-latest
25-
container: ghcr.io/cirruslabs/flutter:stable
26-
2712
steps:
2813
- name: Checkout code
29-
uses: actions/checkout@v4
14+
uses: actions/checkout@v5
15+
16+
- name: Install Flutter
17+
uses: subosito/flutter-action@v2
18+
with:
19+
channel: 'stable'
20+
3021
- name: Install melos and initialize workspace
3122
uses: bluefireteam/melos-action@v3
32-
- name: Lint using flutter analyze
33-
run: flutter analyze
23+
24+
- name: Lint
25+
run: melos format --output none --set-exit-if-changed
26+
27+
- name: Analyze
28+
run: melos analyze

0 commit comments

Comments
 (0)