-
Notifications
You must be signed in to change notification settings - Fork 1
86 lines (78 loc) · 2.21 KB
/
flutter.yaml
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
83
84
85
86
on:
push:
branches:
- dev
paths-ignore:
- '**/README.md'
pull_request:
branches:
- dev
env:
JAVA_VERSION: "21.x"
FLUTTER_VERSION: "3.16.3"
jobs:
analyze:
name: Analyze Flutter 🔍
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Java ☕
uses: actions/setup-java@v4
with:
distribution: "zulu"
java-version: ${{ env.JAVA_VERSION }}
- name: Setup Flutter 🐦
uses: subosito/flutter-action@v2
with:
channel: "stable"
flutter-version: ${{ env.FLUTTER_VERSION }}
- name: solved.ac API Analyze 🔍
run: |
cd my_solved/packages/apis/solved_api
flutter pub get
flutter analyze
- name: solved.ac API Test 🛰️
run: |
cd my_solved/packages/apis/solved_api
flutter test
- name: BOJ API Analyze 🔍
run: |
cd my_solved/packages/apis/boj_api
flutter pub get
flutter analyze
- name: BOJ API Test 🛰️
run: |
cd my_solved/packages/apis/boj_api
flutter test
- name: User Repository Analyze 🔍
run: |
cd my_solved/packages/repositories/user_repository
flutter pub get
flutter analyze
- name: User Repository Test 🛰️
run: |
cd my_solved/packages/repositories/user_repository
flutter test
- name: Search Repository Analyze 🔍
run: |
cd my_solved/packages/repositories/search_repository
flutter pub get
flutter analyze
- name: Search Repository Test 🛰️
run: |
cd my_solved/packages/repositories/search_repository
flutter test
- name: Contest Repository Analyze 🔍
run: |
cd my_solved/packages/repositories/contest_repository
flutter pub get
flutter analyze
- name: Contest Repository Test 🛰️
run: |
cd my_solved/packages/repositories/contest_repository
flutter test
- name: My.solved Analyze 🔍
run: |
cd my_solved
flutter pub get
flutter analyze