File tree Expand file tree Collapse file tree 1 file changed +8
-22
lines changed Expand file tree Collapse file tree 1 file changed +8
-22
lines changed Original file line number Diff line number Diff line change 1- # This workflow uses actions that are not certified by GitHub.
2- # They are provided by a third-party and are governed by
3- # separate terms of service, privacy policy, and support
4- # documentation.
5-
6- name : Dart
1+ name : Flutter CI
72
83on :
94 push :
@@ -18,25 +13,16 @@ jobs:
1813 steps :
1914 - uses : actions/checkout@v4
2015
21- # Note: This workflow uses the latest stable version of the Dart SDK.
22- # You can specify other versions if desired, see documentation here:
23- # https://github.com/dart-lang/setup-dart/blob/main/README.md
24- # - uses: dart-lang/setup-dart@v1
25- - uses : dart-lang/setup-dart@9a04e6d73cca37bd455e0608d7e5092f881fd603
16+ - name : Setup Flutter
17+ uses : subosito/flutter-action@v2
18+ with :
19+ flutter-version : ' 3.29.2' # or your project's version
2620
2721 - name : Install dependencies
28- run : dart pub get
29-
30- # Uncomment this step to verify the use of 'dart format' on each commit.
31- # - name: Verify formatting
32- # run: dart format --output=none --set-exit-if-changed .
22+ run : flutter pub get
3323
34- # Consider passing '--fatal-infos' for slightly stricter analysis.
3524 - name : Analyze project source
36- run : dart analyze
25+ run : flutter analyze
3726
38- # Your project will need to have tests in test/ and a dependency on
39- # package:test for this step to succeed. Note that Flutter projects will
40- # want to change this to 'flutter test'.
4127 - name : Run tests
42- run : dart test
28+ run : flutter test
You can’t perform that action at this time.
0 commit comments