File tree Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -5,23 +5,31 @@ on: [push, pull_request]
5
5
jobs :
6
6
test :
7
7
runs-on : ubuntu-latest
8
-
8
+ continue-on-error : ${{ matrix.experimental }}
9
9
strategy :
10
- fail-fast : false
11
10
matrix :
12
- tag : [latest, dev]
11
+ tag : [2.10, latest]
12
+ experimental : [false]
13
+ include :
14
+ - tag : dev
15
+ experimental : true
13
16
14
17
container :
15
18
image : google/dart:${{ matrix.tag }}
16
19
17
20
steps :
18
21
- uses : actions/checkout@v2
19
22
23
+ - name : Upgrade dependencies
24
+ if : ${{ matrix.experimental }}
25
+ run : dart pub upgrade
26
+
20
27
- name : Install dependencies
21
- run : pub get
28
+ if : ${{ !matrix.experimental }}
29
+ run : dart pub get
22
30
23
31
- name : Check Stage formatting
24
- run : pub run bin/check_formatting.dart
32
+ run : dart run bin/check_formatting.dart
25
33
26
34
- name : Run tests
27
- run : pub run test
35
+ run : dart test
You can’t perform that action at this time.
0 commit comments