-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (29 loc) · 764 Bytes
/
Copy pathci.yml
File metadata and controls
39 lines (29 loc) · 764 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
36
37
38
39
name: CI
on:
push:
branches:
- main
pull_request:
jobs:
build:
name: Analyze, Format & Test
runs-on: ubuntu-latest
steps:
- name: 📚 Git Checkout
uses: actions/checkout@v7
- name: 🐦 Setup Flutter
uses: subosito/flutter-action@v2
with:
channel: 'stable'
- name: 📦 Install Melos
run: dart pub global activate melos
- name: 📥 Get Dependencies
run: flutter pub get
- name: 📝 Check Formatting
run: melos run format
- name: 🔍 Analyze Source Code
run: melos run analyze
- name: 🛠️ Generate Code (build_runner)
run: melos run build_runner
- name: 🧪 Run Tests
run: melos run test