forked from wellington067/calamidade
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (31 loc) · 901 Bytes
/
flutter_test.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
name: CI
on:
push:
branches: [main]
pull_request:
jobs:
flutter_ci:
name: Format flutter code
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Install Flutter
uses: subosito/flutter-action@v2
with:
channel: "stable"
flutter-version: 3.22.0
- name: Install melos
run: dart pub global activate melos
- name: bootstraping
run: dart run melos bootstrap
- name: format
run: |
dart format --set-exit-if-changed ./app
dart format --set-exit-if-changed ./core_module
dart format --set-exit-if-changed ./dashboard
dart format --set-exit-if-changed ./design_system
- name: analyze
run: dart run melos run analyze --no-select
- name: test
run: dart run melos test --no-select