-
-
Notifications
You must be signed in to change notification settings - Fork 3
27 lines (23 loc) · 576 Bytes
/
ci.yaml
File metadata and controls
27 lines (23 loc) · 576 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
name: CI
on:
pull_request:
branches:
- main
jobs:
flutter_test:
name: Run flutter test and analyze
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: "12.x"
- uses: subosito/flutter-action@v1
with:
channel: "stable"
- name: 📦 Install Dependencies
run: flutter pub get
- name: 🩺 Analyze Formatting
run: flutter analyze
- name: 📕 Analyze Formatting
run: dart format --line-length 120 .