Commit 8ab05d4 1 parent eb4da8f commit 8ab05d4 Copy full SHA for 8ab05d4
File tree 1 file changed +38
-0
lines changed
1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : FlutterBuildPass
2
+
3
+ on :
4
+ push :
5
+ branches : [ "main" ]
6
+ pull_request :
7
+ branches : [ "main" ]
8
+
9
+ jobs :
10
+ build :
11
+ runs-on : ubuntu-latest
12
+
13
+ steps :
14
+ - uses : actions/checkout@v4
15
+
16
+ # Note: This workflow uses the latest stable version of the Dart SDK.
17
+ # You can specify other versions if desired, see documentation here:
18
+ # https://github.com/dart-lang/setup-dart/blob/main/README.md
19
+ # - uses: dart-lang/setup-dart@v1
20
+ - name : Setup Flutter SDK
21
+ uses : flutter-actions/setup-flutter@v3
22
+
23
+ - name : Install dependencies
24
+ run : flutter pub get
25
+
26
+ # Uncomment this step to verify the use of 'dart format' on each commit.
27
+ # - name: Verify formatting
28
+ # run: dart format --output=none --set-exit-if-changed .
29
+
30
+ # Consider passing '--fatal-infos' for slightly stricter analysis.
31
+ - name : Analyze project source
32
+ run : flutter analyze
33
+
34
+ # Your project will need to have tests in test/ and a dependency on
35
+ # package:test for this step to succeed. Note that Flutter projects will
36
+ # want to change this to 'flutter test'.
37
+ - name : Run tests
38
+ run : flutter test
You can’t perform that action at this time.
0 commit comments