-
Notifications
You must be signed in to change notification settings - Fork 10
43 lines (39 loc) · 980 Bytes
/
analysis.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Analysis
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
analyze:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.16.x'
- run: flutter pub global activate melos
- run: melos pub-get
- run: melos run analyze
format:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.16.x'
- run: flutter pub global activate melos
- run: melos pub-get
- run: melos run format
pub:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.16.x'
- run: flutter pub global activate melos
- run: melos pub-get
- run: melos exec --no-private -- \
flutter pub publish --dry-run