-
-
Notifications
You must be signed in to change notification settings - Fork 19
35 lines (26 loc) · 755 Bytes
/
flutter.yaml
File metadata and controls
35 lines (26 loc) · 755 Bytes
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
name: Flutter CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup environment file from template
run: cp .env.stencil .env
- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
channel: 'stable'
- name: Install dependencies
run: flutter pub get
- name: Dart analyze
run: flutter analyze
- name: Check formatting
run: dart format --output=none --set-exit-if-changed .
- name: Flutter build (apk)
run: flutter build apk --release --no-tree-shake-icons | grep -v "deprecated"