@@ -18,59 +18,16 @@ concurrency:
1818
1919jobs :
2020 build :
21- runs-on : macos-latest
22- strategy :
23- matrix :
24- flutter-version : [stable, beta]
25-
26- steps :
27- - uses : actions/checkout@v4
28- with :
29- fetch-depth : 1 # Use shallow clone for faster checkout
30-
31- - name : Check broken links
32- uses : JustinBeckwith/linkinator-action@v1
33- with :
34- paths : " **/*.md"
35-
36- - name : Setup Java
37- uses : actions/setup-java@v4
38- with :
39- distribution : ' zulu'
40- java-version : ' 17'
41- - name : Setup Flutter
42- uses : kuhnroyal/flutter-fvm-config-action/setup@v3
43- with :
44- path : ' .fvmrc'
45- cache-key : ${{ runner.os }}-flutter-${{ matrix.flutter-version }}
46- flavor : ${{ matrix.flutter-version }}
47- - name : Install dependencies
48- run : flutter pub get
49- - name : Format code
50- run : dart format --set-exit-if-changed lib/ test/ example/
51- - name : Analyze static code
52- run : flutter analyze
53- - name : Run tests
54- run : flutter test --no-pub --coverage
55- - name : Run fixes tests
56- run : dart fix --compare-to-golden test_fixes/
57- - name : Upload coverage to Codecov
58- uses : codecov/codecov-action@v5
59- with :
60- files : coverage/lcov.info
61- name : form_builder_extra_fields
62- - name : Check publish warnings
63- run : dart pub publish --dry-run
64- - name : Build example
65- run : |
66- cd example
67- flutter build appbundle --debug
68- flutter build ios --debug --no-codesign
69- flutter build web
21+ uses : flutter-form-builder-ecosystem/.github/.github/workflows/minimal-quality.yaml@main
22+ with :
23+ codecov-name : form_builder_extra_fields
24+ enable-fix-tests : true
25+ example :
26+ uses : flutter-form-builder-ecosystem/.github/.github/workflows/build-examples.yaml@main
7027
7128 deployment :
7229 permissions :
7330 id-token : write
7431 uses : flutter-form-builder-ecosystem/.github/.github/workflows/deployment.yaml@main
7532 if : ${{ github.ref_type == 'tag' }}
76- needs : build
33+ needs : [ build, example]
0 commit comments