File tree Expand file tree Collapse file tree 3 files changed +73
-8
lines changed Expand file tree Collapse file tree 3 files changed +73
-8
lines changed Original file line number Diff line number Diff line change
1
+ name : Analyze Code
2
+
3
+ on :
4
+ pull_request :
5
+ paths :
6
+ - ' .github/workflows/test.yml'
7
+ - ' bin/*.dart'
8
+ - ' exercises/**/*.dart'
9
+ - ' exercises/**/analysis_options.yaml'
10
+ - ' exercises/**/pubspec.yaml'
11
+ - ' lib/*.dart'
12
+ - ' lib/src/*.dart'
13
+ - ' test/*.dart'
14
+ - ' analysis_options.yaml'
15
+ - ' pubspec.*'
16
+
17
+ jobs :
18
+ test :
19
+ runs-on : ubuntu-22.04
20
+ strategy :
21
+ fail-fast : false
22
+ matrix :
23
+ tag : ['3.2']
24
+
25
+ container :
26
+ image : dart:${{ matrix.tag }}
27
+
28
+ steps :
29
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
30
+
31
+ - name : Install dependencies
32
+ run : dart pub get
33
+
34
+ # We can't check the exercises because they will produce errors since the example files have the solution.
35
+ - name : Analyze Dart code
36
+ run : dart analyze bin/ lib/ test/
Original file line number Diff line number Diff line change
1
+ name : Check Formatting
2
+
3
+ on :
4
+ pull_request :
5
+ paths :
6
+ - ' .github/workflows/test.yml'
7
+ - ' bin/*.dart'
8
+ - ' exercises/**/*.dart'
9
+ - ' exercises/**/analysis_options.yaml'
10
+ - ' exercises/**/pubspec.yaml'
11
+ - ' lib/*.dart'
12
+ - ' lib/src/*.dart'
13
+ - ' test/*.dart'
14
+ - ' analysis_options.yaml'
15
+ - ' pubspec.*'
16
+
17
+ jobs :
18
+ test :
19
+ runs-on : ubuntu-22.04
20
+ strategy :
21
+ fail-fast : false
22
+ matrix :
23
+ tag : ['3.2']
24
+
25
+ container :
26
+ image : dart:${{ matrix.tag }}
27
+
28
+ steps :
29
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
30
+
31
+ - name : Install dependencies
32
+ run : dart pub get
33
+
34
+ - name : Check Stage formatting
35
+ run : dart run bin/check_formatting.dart
36
+
Original file line number Diff line number Diff line change 1
- name : Test
1
+ name : Run Tests
2
2
3
3
on :
4
4
pull_request :
31
31
- name : Install dependencies
32
32
run : dart pub get
33
33
34
- - name : Check Stage formatting
35
- run : dart run bin/check_formatting.dart
36
-
37
- # We can't check the exercises because they will produce errors since the example files have the solution.
38
- - name : Analyze Dart code
39
- run : dart analyze bin/ lib/ test/
40
-
41
34
- name : Run tests
42
35
run : dart test
You can’t perform that action at this time.
0 commit comments