-
Notifications
You must be signed in to change notification settings - Fork 12
46 lines (38 loc) · 1.16 KB
/
static-analysis.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
name: static-analysis
on:
pull_request:
merge_group:
env:
PROJECT_PATH: commet
jobs:
static-analysis:
name: Static Analysis
runs-on: ubuntu-latest
steps:
- name: Checkout ┏━┓ ︵ /(^.^/)
uses: actions/checkout@v2
with:
submodules: 'true'
- name: Setup Flutter ╰(✿˙ᗜ˙)੭━☆゚.*・。゚
uses: subosito/[email protected]
with:
flutter-version: '3.24.4'
channel: 'stable'
- name: Setup Tools ᕙ|” ◉ ◡ ◉ ”|ᕗ
run: |
sudo apt-get update -y
sudo apt-get install -y ninja-build libgtk-3-dev libolm3 libmpv-dev mpv libmimalloc-dev
- name: Configure Flutter (∩`-´)⊃━☆゚.*・。゚
run: flutter config --enable-linux-desktop
- name: Check Code Style
run: |
cd $PROJECT_PATH
dart format -o none --fix --set-exit-if-changed .
- name: Code Generation __φ(..;)
run: |
cd $PROJECT_PATH
dart run scripts/codegen.dart
- name: Check Warnings
run: |
cd $PROJECT_PATH
dart analyze