-
Notifications
You must be signed in to change notification settings - Fork 2
43 lines (39 loc) · 955 Bytes
/
ci.yml
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
name: CI
on:
push:
branches:
- main
paths:
- '.github/workflows/ci.yml'
pull_request:
branches:
- main
workflow_dispatch:
jobs:
analyze:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
- uses: bluefireteam/melos-action@v3
- uses: invertase/github-action-dart-analyzer@v3
with:
fatal-infos: true
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
- uses: bluefireteam/melos-action@v3
- run: melos run format-check
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
- run: sudo apt update
- run: sudo apt install -y libsane-dev
env:
DEBIAN_FRONTEND: noninteractive
- uses: bluefireteam/melos-action@v3
- run: melos run test