File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-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
+ strategy :
16
+ fail-fast : false
17
+ matrix :
18
+ channel : [stable, beta]
19
+
20
+ steps :
21
+ - uses : actions/checkout@v3
22
+
23
+ - name : Check broken links
24
+ uses : JustinBeckwith/linkinator-action@v1
25
+ with :
26
+ paths : " **/*.md"
27
+
28
+ - name : Flutter action
29
+ uses : subosito/flutter-action@v2
30
+ with :
31
+ channel : ${{ matrix.channel }}
32
+
33
+ - name : Install dependencies
34
+ run : flutter pub get
35
+ - name : Format code
36
+ run : flutter format --dry-run --set-exit-if-changed .
37
+ - name : Analyze static code
38
+ run : flutter analyze
39
+ # - name: Run tests
40
+ # run: flutter test
41
+ - name : Build example
42
+ run : |
43
+ cd example
44
+ flutter build appbundle --debug
45
+ flutter build ios --debug --no-codesign
You can’t perform that action at this time.
0 commit comments