-
Notifications
You must be signed in to change notification settings - Fork 38
55 lines (45 loc) · 1.13 KB
/
analyze.yml
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
44
45
46
47
48
49
50
51
52
53
54
55
name: Analyze Workflow
on:
push:
pull_request_target:
branches: [main]
paths-ignore:
- 'scripts/**'
- 'website/**'
- 'assets/**'
jobs:
dcm:
name: DCM
runs-on: ubuntu-latest
steps:
- name: Checkout mix repo
uses: actions/checkout@v4
- name: Setup FVM
uses: ./.github/actions/fvm/
with:
flutter-version: 'stable'
- name: Setup Melos
uses: bluefireteam/melos-action@v3
- name: Run build runner
shell: bash
run: melos run brb
- name: Install DCM
uses: CQLabs/setup-dcm@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Run DCM
uses: CQLabs/dcm-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
folders: .
ci_key: oss
email: oss
fatal_style: true
fatal_performance: true
fatal_warnings: true
- name: dart analyze
run: melos analyze
shell: bash
- name: Run custom_lint
run: melos run custom_lint_analyze
shell: bash