|
11 | 11 | branches: |
12 | 12 | - master |
13 | 13 | - develop |
14 | | - - test |
15 | | - - chore |
16 | 14 |
|
17 | 15 | jobs: |
18 | 16 | lint: |
19 | 17 | runs-on: macos-latest |
20 | 18 |
|
21 | 19 | steps: |
22 | | - - uses: actions/checkout@v4.2.1 |
23 | | - - uses: actions/setup-java@v4.4.0 |
24 | | - with: |
25 | | - java-version: 11 |
26 | | - distribution: temurin |
27 | | - - uses: subosito/flutter-action@v2.16.0 |
28 | | - with: |
29 | | - flutter-version: '3.24.0' |
30 | | - cache: true |
31 | | - |
32 | | - - name: Install dependencies for google_ml_kit |
33 | | - working-directory: ./packages/google_ml_kit |
34 | | - run: flutter pub get |
35 | | - |
36 | | - - name: Install dependencies for google_mlkit_barcode_scanning |
37 | | - working-directory: ./packages/google_mlkit_barcode_scanning |
38 | | - run: flutter pub get |
39 | | - |
40 | | - - name: Install dependencies for google_mlkit_commons |
41 | | - working-directory: ./packages/google_mlkit_commons |
42 | | - run: flutter pub get |
43 | | - |
44 | | - - name: Install dependencies for google_mlkit_face_detection |
45 | | - working-directory: ./packages/google_mlkit_face_detection |
46 | | - run: flutter pub get |
47 | | - |
48 | | - - name: Install dependencies for google_mlkit_face_mesh_detection |
49 | | - working-directory: ./packages/google_mlkit_face_mesh_detection |
50 | | - run: flutter pub get |
51 | | - |
52 | | - - name: Install dependencies for google_mlkit_image_labeling |
53 | | - working-directory: ./packages/google_mlkit_image_labeling |
54 | | - run: flutter pub get |
55 | | - |
56 | | - - name: Install dependencies for google_mlkit_digital_ink_recognition |
57 | | - working-directory: ./packages/google_mlkit_digital_ink_recognition |
58 | | - run: flutter pub get |
59 | | - |
60 | | - - name: Install dependencies for google_mlkit_document_scanner |
61 | | - working-directory: ./packages/google_mlkit_document_scanner |
62 | | - run: flutter pub get |
63 | | - |
64 | | - - name: Install dependencies for google_mlkit_language_id |
65 | | - working-directory: ./packages/google_mlkit_language_id |
66 | | - run: flutter pub get |
67 | | - |
68 | | - - name: Install dependencies for google_mlkit_object_detection |
69 | | - working-directory: ./packages/google_mlkit_object_detection |
70 | | - run: flutter pub get |
71 | | - |
72 | | - - name: Install dependencies for google_mlkit_pose_detection |
73 | | - working-directory: ./packages/google_mlkit_pose_detection |
74 | | - run: flutter pub get |
75 | | - |
76 | | - - name: Install dependencies for google_mlkit_text_recognition |
77 | | - working-directory: ./packages/google_mlkit_text_recognition |
78 | | - run: flutter pub get |
79 | | - |
80 | | - - name: Install dependencies for google_mlkit_translation |
81 | | - working-directory: ./packages/google_mlkit_translation |
82 | | - run: flutter pub get |
83 | | - |
84 | | - - name: Install dependencies for google_mlkit_entity_extraction |
85 | | - working-directory: ./packages/google_mlkit_entity_extraction |
86 | | - run: flutter pub get |
87 | | - |
88 | | - - name: Install dependencies for google_mlkit_smart_reply |
89 | | - working-directory: ./packages/google_mlkit_smart_reply |
90 | | - run: flutter pub get |
91 | | - |
92 | | - - name: Install dependencies for google_mlkit_selfie_segmentation |
93 | | - working-directory: ./packages/google_mlkit_selfie_segmentation |
94 | | - run: flutter pub get |
95 | | - |
96 | | - - name: Install dependencies for example |
97 | | - working-directory: ./packages/example |
98 | | - run: flutter pub get |
99 | | - |
100 | | - # Check for any formatting issues in the code. |
101 | | - - run: dart format --set-exit-if-changed . |
102 | | - |
103 | | - # Statically analyze the Dart code for any errors. |
104 | | - - run: flutter analyze . |
| 20 | + - uses: actions/checkout@v4.2.1 |
| 21 | + - uses: actions/setup-java@v4.4.0 |
| 22 | + with: |
| 23 | + java-version: 11 |
| 24 | + distribution: temurin |
| 25 | + - uses: subosito/flutter-action@v2.16.0 |
| 26 | + with: |
| 27 | + flutter-version: '3.24.0' |
| 28 | + cache: true |
| 29 | + |
| 30 | + - name: Install dependencies for google_ml_kit |
| 31 | + working-directory: ./packages/google_ml_kit |
| 32 | + run: flutter pub get |
| 33 | + |
| 34 | + - name: Install dependencies for google_mlkit_barcode_scanning |
| 35 | + working-directory: ./packages/google_mlkit_barcode_scanning |
| 36 | + run: flutter pub get |
| 37 | + |
| 38 | + - name: Install dependencies for google_mlkit_commons |
| 39 | + working-directory: ./packages/google_mlkit_commons |
| 40 | + run: flutter pub get |
| 41 | + |
| 42 | + - name: Install dependencies for google_mlkit_face_detection |
| 43 | + working-directory: ./packages/google_mlkit_face_detection |
| 44 | + run: flutter pub get |
| 45 | + |
| 46 | + - name: Install dependencies for google_mlkit_face_mesh_detection |
| 47 | + working-directory: ./packages/google_mlkit_face_mesh_detection |
| 48 | + run: flutter pub get |
| 49 | + |
| 50 | + - name: Install dependencies for google_mlkit_image_labeling |
| 51 | + working-directory: ./packages/google_mlkit_image_labeling |
| 52 | + run: flutter pub get |
| 53 | + |
| 54 | + - name: Install dependencies for google_mlkit_digital_ink_recognition |
| 55 | + working-directory: ./packages/google_mlkit_digital_ink_recognition |
| 56 | + run: flutter pub get |
| 57 | + |
| 58 | + - name: Install dependencies for google_mlkit_document_scanner |
| 59 | + working-directory: ./packages/google_mlkit_document_scanner |
| 60 | + run: flutter pub get |
| 61 | + |
| 62 | + - name: Install dependencies for google_mlkit_language_id |
| 63 | + working-directory: ./packages/google_mlkit_language_id |
| 64 | + run: flutter pub get |
| 65 | + |
| 66 | + - name: Install dependencies for google_mlkit_object_detection |
| 67 | + working-directory: ./packages/google_mlkit_object_detection |
| 68 | + run: flutter pub get |
| 69 | + |
| 70 | + - name: Install dependencies for google_mlkit_pose_detection |
| 71 | + working-directory: ./packages/google_mlkit_pose_detection |
| 72 | + run: flutter pub get |
| 73 | + |
| 74 | + - name: Install dependencies for google_mlkit_text_recognition |
| 75 | + working-directory: ./packages/google_mlkit_text_recognition |
| 76 | + run: flutter pub get |
| 77 | + |
| 78 | + - name: Install dependencies for google_mlkit_translation |
| 79 | + working-directory: ./packages/google_mlkit_translation |
| 80 | + run: flutter pub get |
| 81 | + |
| 82 | + - name: Install dependencies for google_mlkit_entity_extraction |
| 83 | + working-directory: ./packages/google_mlkit_entity_extraction |
| 84 | + run: flutter pub get |
| 85 | + |
| 86 | + - name: Install dependencies for google_mlkit_smart_reply |
| 87 | + working-directory: ./packages/google_mlkit_smart_reply |
| 88 | + run: flutter pub get |
| 89 | + |
| 90 | + - name: Install dependencies for google_mlkit_selfie_segmentation |
| 91 | + working-directory: ./packages/google_mlkit_selfie_segmentation |
| 92 | + run: flutter pub get |
| 93 | + |
| 94 | + - name: Install dependencies for google_mlkit_subject_segmentation |
| 95 | + working-directory: ./packages/google_mlkit_subject_segmentation |
| 96 | + run: flutter pub get |
| 97 | + |
| 98 | + - name: Install dependencies for example |
| 99 | + working-directory: ./packages/example |
| 100 | + run: flutter pub get |
| 101 | + |
| 102 | + # Check for any formatting issues in the code. |
| 103 | + - run: dart format --set-exit-if-changed . |
| 104 | + |
| 105 | + # Statically analyze the Dart code for any errors. |
| 106 | + - run: flutter analyze . |
0 commit comments