-
Notifications
You must be signed in to change notification settings - Fork 97
46 lines (37 loc) · 954 Bytes
/
Copy pathci.yml
File metadata and controls
46 lines (37 loc) · 954 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
40
41
42
43
44
45
46
# Continuous check — analyze + unit tests (no APK).
name: CI
on:
push:
branches: [master, main, ai_refactor]
paths-ignore:
- '**.md'
- 'docs/**'
pull_request:
branches: [master, main]
workflow_dispatch:
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
analyze:
name: Analyze & Test
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
# Match project target (Dart 3.12 / Flutter 3.44).
flutter-version: '3.44.0'
channel: 'stable'
cache: true
- name: Flutter version
run: flutter --version
- name: Pub get
run: flutter pub get
- name: Analyze
run: flutter analyze --no-fatal-infos
- name: Test
run: flutter test