File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Base
2
+
3
+ on :
4
+ push :
5
+ branches : [main]
6
+
7
+ pull_request :
8
+ branches : [main]
9
+
10
+ workflow_dispatch :
11
+
12
+ jobs :
13
+ build :
14
+ runs-on : macos-latest
15
+
16
+ steps :
17
+ - uses : actions/checkout@v3
18
+
19
+ - name : Check broken links
20
+ uses : JustinBeckwith/linkinator-action@v1
21
+ with :
22
+ paths : " **/*.md"
23
+
24
+ - name : Flutter action
25
+ uses : subosito/flutter-action@v2
26
+ with :
27
+ channel : ' stable'
28
+ flutter-version : ' 2.10.5'
29
+
30
+ - name : Install dependencies
31
+ run : flutter pub get
32
+ - name : Format code
33
+ run : flutter format --dry-run --set-exit-if-changed .
34
+ - name : Analyze static code
35
+ run : flutter analyze
36
+ # - name: Run tests
37
+ # run: flutter test
38
+ - name : Build example
39
+ run : |
40
+ cd example
41
+ flutter build appbundle --debug
42
+ flutter build ios --debug --no-codesign
43
+ flutter build web --debug
You can’t perform that action at this time.
0 commit comments