-
Notifications
You must be signed in to change notification settings - Fork 22
37 lines (31 loc) · 1.17 KB
/
pr-check-example.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
name: PR check [example]
on:
pull_request:
branches:
- master
- develop
types:
- opened
- reopened
- edited
- synchronize
jobs:
pr-check-example:
runs-on: ubuntu-latest
steps:
- name: Setup Flutter
uses: subosito/[email protected]
with:
flutter-version: 3.19.5
channel: stable
cache: true
- name: Check out repository code
uses: actions/checkout@v3
- name: reactive_forms_generator => example => build_runner
run: cd packages/reactive_forms_generator/example && flutter pub get && flutter pub run build_runner build --delete-conflicting-outputs
- name: reactive_forms_generator => example => analyze
run: cd packages/reactive_forms_generator/example && flutter pub get && flutter analyze
# - name: reactive_forms_generator => example => code formatting
# run: cd packages/reactive_forms_generator/example && flutter pub get && dart format --set-exit-if-changed lib
- name: reactive_forms_generator => example => test
run: cd packages/reactive_forms_generator/example && flutter pub get && flutter test