@@ -36,16 +36,16 @@ jobs:
3636 - run : pub global activate mono_repo 3.3.0
3737 - run : pub global run mono_repo generate --validate
3838 job_002 :
39- name : " OS: linux; SDK: dev; PKGS: _test_yaml, checked_yaml, json_annotation, json_serializable; TASKS: [`dartfmt -n --set-exit-if-changed .`, `dartanalyzer --fatal-warnings --fatal-infos .`]"
39+ name : " OS: linux; SDK: dev; PKGS: _test_yaml, checked_yaml, example, json_annotation, json_serializable; TASKS: [`dartfmt -n --set-exit-if-changed .`, `dartanalyzer --fatal-infos .`]"
4040 runs-on : ubuntu-latest
4141 steps :
4242 - name : Cache Pub hosted dependencies
4343 uses : actions/cache@v2
4444 with :
4545 path : " ~/.pub-cache/hosted"
46- key : " os:ubuntu-latest;pub-cache-hosted;dart:dev;packages:_test_yaml-checked_yaml-json_annotation-json_serializable;commands:dartfmt-dartanalyzer_0 "
46+ key : " os:ubuntu-latest;pub-cache-hosted;dart:dev;packages:_test_yaml-checked_yaml-example- json_annotation-json_serializable;commands:dartfmt-dartanalyzer "
4747 restore-keys : |
48- os:ubuntu-latest;pub-cache-hosted;dart:dev;packages:_test_yaml-checked_yaml-json_annotation-json_serializable
48+ os:ubuntu-latest;pub-cache-hosted;dart:dev;packages:_test_yaml-checked_yaml-example- json_annotation-json_serializable
4949 os:ubuntu-latest;pub-cache-hosted;dart:dev
5050 os:ubuntu-latest;pub-cache-hosted
5151 os:ubuntu-latest
5555 - run : dart --version
5656 - uses : actions/checkout@v2
5757 - env :
58- PKGS : _test_yaml checked_yaml json_annotation json_serializable
58+ PKGS : _test_yaml checked_yaml example json_annotation json_serializable
5959 TRAVIS_OS_NAME : linux
60- run : tool/ci.sh dartfmt dartanalyzer_0
61- job_005 :
62- name : " OS: linux; SDK: 2.7.0; PKG: checked_yaml; TASKS: `dartanalyzer --fatal-warnings .`"
63- runs-on : ubuntu-latest
64- steps :
65- - name : Cache Pub hosted dependencies
66- uses : actions/cache@v2
67- with :
68- path : " ~/.pub-cache/hosted"
69- key : " os:ubuntu-latest;pub-cache-hosted;dart:2.7.0;packages:checked_yaml;commands:dartanalyzer_1"
70- restore-keys : |
71- os:ubuntu-latest;pub-cache-hosted;dart:2.7.0;packages:checked_yaml
72- os:ubuntu-latest;pub-cache-hosted;dart:2.7.0
73- os:ubuntu-latest;pub-cache-hosted
74- os:ubuntu-latest
75- - uses : cedx/setup-dart@v2
76- with :
77- release-channel : stable
78- version : " 2.7.0"
79- - run : dart --version
80- - uses : actions/checkout@v2
81- - env :
82- PKGS : checked_yaml
83- TRAVIS_OS_NAME : linux
84- run : tool/ci.sh dartanalyzer_1
85- job_008 :
86- name : " OS: linux; SDK: dev; PKG: example; TASKS: [`dartfmt -n --set-exit-if-changed .`, `dartanalyzer --fatal-warnings .`]"
87- runs-on : ubuntu-latest
88- steps :
89- - name : Cache Pub hosted dependencies
90- uses : actions/cache@v2
91- with :
92- path : " ~/.pub-cache/hosted"
93- key : " os:ubuntu-latest;pub-cache-hosted;dart:dev;packages:example;commands:dartfmt-dartanalyzer_1"
94- restore-keys : |
95- os:ubuntu-latest;pub-cache-hosted;dart:dev;packages:example
96- os:ubuntu-latest;pub-cache-hosted;dart:dev
97- os:ubuntu-latest;pub-cache-hosted
98- os:ubuntu-latest
99- - uses : cedx/setup-dart@v2
100- with :
101- release-channel : dev
102- - run : dart --version
103- - uses : actions/checkout@v2
104- - env :
105- PKGS : example
106- TRAVIS_OS_NAME : linux
107- run : tool/ci.sh dartfmt dartanalyzer_1
60+ run : tool/ci.sh dartfmt dartanalyzer
10861 job_003 :
10962 name : " OS: linux; SDK: dev; PKGS: _test_yaml, checked_yaml, example, json_serializable; TASKS: `pub run test`"
11063 runs-on : ubuntu-latest
@@ -131,38 +84,7 @@ jobs:
13184 needs :
13285 - job_001
13386 - job_002
134- - job_005
135- - job_008
136- job_006 :
137- name : " OS: linux; SDK: 2.7.0; PKG: checked_yaml; TASKS: `pub run test`"
138- runs-on : ubuntu-latest
139- steps :
140- - name : Cache Pub hosted dependencies
141- uses : actions/cache@v2
142- with :
143- path : " ~/.pub-cache/hosted"
144- key : " os:ubuntu-latest;pub-cache-hosted;dart:2.7.0;packages:checked_yaml;commands:test_0"
145- restore-keys : |
146- os:ubuntu-latest;pub-cache-hosted;dart:2.7.0;packages:checked_yaml
147- os:ubuntu-latest;pub-cache-hosted;dart:2.7.0
148- os:ubuntu-latest;pub-cache-hosted
149- os:ubuntu-latest
150- - uses : cedx/setup-dart@v2
151- with :
152- release-channel : stable
153- version : " 2.7.0"
154- - run : dart --version
155- - uses : actions/checkout@v2
156- - env :
157- PKGS : checked_yaml
158- TRAVIS_OS_NAME : linux
159- run : tool/ci.sh test_0
160- needs :
161- - job_001
162- - job_002
163- - job_005
164- - job_008
165- job_009 :
87+ job_005 :
16688 name : " OS: linux; SDK: dev; PKG: json_serializable; TASKS: `pub run test -p chrome`"
16789 runs-on : ubuntu-latest
16890 steps :
@@ -188,8 +110,6 @@ jobs:
188110 needs :
189111 - job_001
190112 - job_002
191- - job_005
192- - job_008
193113 job_004 :
194114 name : " OS: linux; SDK: dev; PKGS: _test_yaml, checked_yaml, example, json_serializable; TASKS: `pub run test --run-skipped -t presubmit-only test/ensure_build_test.dart`"
195115 runs-on : ubuntu-latest
@@ -215,33 +135,4 @@ jobs:
215135 run : tool/ci.sh test_1
216136 needs :
217137 - job_003
218- - job_006
219- - job_009
220- job_007 :
221- name : " OS: linux; SDK: 2.7.0; PKG: checked_yaml; TASKS: `pub run test --run-skipped -t presubmit-only test/ensure_build_test.dart`"
222- runs-on : ubuntu-latest
223- steps :
224- - name : Cache Pub hosted dependencies
225- uses : actions/cache@v2
226- with :
227- path : " ~/.pub-cache/hosted"
228- key : " os:ubuntu-latest;pub-cache-hosted;dart:2.7.0;packages:checked_yaml;commands:test_1"
229- restore-keys : |
230- os:ubuntu-latest;pub-cache-hosted;dart:2.7.0;packages:checked_yaml
231- os:ubuntu-latest;pub-cache-hosted;dart:2.7.0
232- os:ubuntu-latest;pub-cache-hosted
233- os:ubuntu-latest
234- - uses : cedx/setup-dart@v2
235- with :
236- release-channel : stable
237- version : " 2.7.0"
238- - run : dart --version
239- - uses : actions/checkout@v2
240- - env :
241- PKGS : checked_yaml
242- TRAVIS_OS_NAME : linux
243- run : tool/ci.sh test_1
244- needs :
245- - job_003
246- - job_006
247- - job_009
138+ - job_005
0 commit comments