File tree Expand file tree Collapse file tree 1 file changed +18
-19
lines changed
Expand file tree Collapse file tree 1 file changed +18
-19
lines changed Original file line number Diff line number Diff line change 1111 - dev
1212
1313env :
14- FLUTTER_VERSION : " 1.22.1 "
15-
14+ FLUTTER_VERSION : " 1.22.6 "
15+
1616jobs :
17- # This workflow contains a single job called "build"
18- test :
19- name : Test
20- runs-on : windows-latest
21-
22- # Steps represent a sequence of tasks that will be executed as part of the job
17+ tests :
18+ runs-on : ubuntu-latest
2319 steps :
24- # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
25- - uses : actions/checkout@v2
26- - uses : actions/setup-java@v1
27- with :
28- java-version : ' 13.x'
29- - uses : subosito/flutter-action@v1.3.2
30- with :
31- channel : ' stable' # or: 'dev' or 'beta'
32-
33- - run : flutter pub get
34- - run : flutter test
20+ - name : Checkout Repository
21+ uses : actions/checkout@v2
22+ - name : Install Flutter
23+ run : git clone https://github.com/flutter/flutter.git --depth 1 -b $FLUTTER_VERSION _flutter
24+ - name : Add Flutter to Path
25+ run : echo "$GITHUB_WORKSPACE/_flutter/bin" >> $GITHUB_PATH
26+ - name : Install Flutter Dependencies
27+ run : flutter pub get
28+ - name : Flutter Analyze
29+ run : flutter analyze --no-pub
30+ - name : Check Flutter Formatting
31+ run : flutter format lib/** --set-exit-if-changed
32+ - name : Run Flutter Tests
33+ run : flutter test --no-pub
3534
You can’t perform that action at this time.
0 commit comments