-
Notifications
You must be signed in to change notification settings - Fork 0
82 lines (77 loc) · 1.94 KB
/
ci.yaml
File metadata and controls
82 lines (77 loc) · 1.94 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
name: ci
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version-file: .fvmrc
- run: flutter --version
- run: dart pub get
- run: dart analyze --fatal-infos
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version-file: .fvmrc
- run: dart pub get
- run: flutter test
working-directory: manyui
- run: flutter test
working-directory: manyui_testing
- run: flutter test
working-directory: manyui_hooks
- run: flutter test
working-directory: manyui_riverpod
- run: flutter test
working-directory: manyui_board
publish_dry_run:
name: Publish dry-run
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
package:
- manyui
- manyui_assets
- manyui_board
- manyui_cli
- manyui_compat_forui
- manyui_hooks
- manyui_riverpod
- manyui_testing
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version-file: .fvmrc
- run: dart pub get
- run: dart pub publish --dry-run
working-directory: ${{ matrix.package }}
floor_check:
name: Verify against SDK floor (3.38)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version: 3.38.x
- run: flutter --version
- run: dart pub get
- run: dart analyze
- run: flutter test
working-directory: manyui