File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed
templates/dart/.github/workflows Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -492,6 +492,11 @@ public function getFiles(): array
492
492
'destination ' => '.github/workflows/format.yml ' ,
493
493
'template ' => 'dart/.github/workflows/format.yml.twig ' ,
494
494
],
495
+ [
496
+ 'scope ' => 'default ' ,
497
+ 'destination ' => '.github/workflows/test.yml ' ,
498
+ 'template ' => 'dart/.github/workflows/test.yml ' ,
499
+ ],
495
500
[
496
501
'scope ' => 'default ' ,
497
502
'destination ' => 'lib/src/input_file.dart ' ,
Original file line number Diff line number Diff line change
1
+ name : Analyze and test
2
+
3
+ on : pull_request
4
+
5
+ jobs :
6
+ test :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@v3
10
+ - uses : dart-lang/setup-dart@v1
11
+ - name : Install dependencies
12
+ run : dart pub get
13
+ - name : Analyze
14
+ run : dart analyze --no-fatal-warnings
15
+ - name : Test
16
+ run : dart test
You can’t perform that action at this time.
0 commit comments