File tree Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change 1- name : Flutter CI
1+
2+ name : Build
23
34on :
45 push :
5- branches :
6- - dev
7- - master
6+ branches : [ master ]
7+ pull_request :
8+ branches : [ master ]
89
910jobs :
1011 test :
@@ -13,17 +14,18 @@ jobs:
1314 strategy :
1415 matrix :
1516 os : [ubuntu-latest]
16- # os: [ubuntu-latest, windows-latest, macos-latest]
17+
1718 steps :
1819 - uses : actions/checkout@v2
19- - uses : actions/setup-java@v2
20+ - uses : actions/setup-java@v1
2021 with :
2122 java-version : ' 12.x'
2223 - uses : subosito/flutter-action@v1
2324 with :
24- flutter-version : ' 1.7.8+hotfix.4 '
25+ flutter-version : ' 1.22.6 '
2526 channel : ' stable'
26- - run : cd example && ./scripts/project_tools.sh create
2727 - run : flutter packages get
28- # - run: flutter test
29- - run : cd example && flutter build apk
28+ - run : flutter format lib/ test/ --set-exit-if-changed
29+ - run : flutter pub run import_sorter:main --no-comments --exit-if-changed
30+ - run : flutter analyze
31+ - run : flutter test
You can’t perform that action at this time.
0 commit comments