-
-
Notifications
You must be signed in to change notification settings - Fork 3
25 lines (23 loc) · 541 Bytes
/
Copy pathci.yml
File metadata and controls
25 lines (23 loc) · 541 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
name: CI
on:
pull_request:
branches: '*'
push:
branches: [master]
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
- name: Install dependencies
run: flutter pub get
- name: Format code
run: dart format --line-length 120 --set-exit-if-changed .
- name: Analyze code
run: flutter analyze
# Skip tests for now
# - name: Run tests
# run: flutter test