-
Notifications
You must be signed in to change notification settings - Fork 75
53 lines (50 loc) · 1.41 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
name: 🧐 Analyze
permissions: write-all
on:
push:
branches:
- main
- develop
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
branches:
- main
- develop
paths-ignore:
- '**.md'
- doc/**
- .git/
- .vscode/
jobs:
analyze:
name: Analyze
if: github.event.pull_request.draft == false
timeout-minutes: 30
runs-on: macos-latest
steps:
- name: ⬇️ Checkout repository
uses: actions/checkout@v3
- name: ⚙️ Setup Flutter
uses: subosito/flutter-action@v2
with:
channel: stable
cache: true
- name: ⚠️ℹ️ Run Dart analysis for hmssdk_flutter package
uses: zgosalvez/[email protected]
with:
working-directory: "${{github.workspace}}/packages/hmssdk_flutter"
- name: ⚠️ℹ️ Run Dart analysis for hms_room_kit package
uses: zgosalvez/[email protected]
with:
working-directory: "${{github.workspace}}/packages/hms_room_kit"
# - name: 📈 Check metrics
# uses: dart-code-checker/[email protected]
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# pull_request_comment: true
# check_unused_files: true
# folders: 'packages/hmssdk_flutter, packages/hms_room_kit'