37
37
- name : Git Checkout
38
38
uses : actions/checkout@v2
39
39
40
- - name : Cache Ivy
41
- uses : actions/cache@v2
42
- with :
43
- path : /root/.ivy2/cache
44
- key : ${{ runner.os }}-ivy-test-${{ hashFiles('**/build.sbt') }}
45
- restore-keys : ${{ runner.os }}-ivy-test-
46
-
47
- - name : Cache SBT
48
- uses : actions/cache@v2
49
- with :
50
- path : /root/.sbt
51
- key : ${{ runner.os }}-sbt-test-${{ hashFiles('project/**') }}
52
- restore-keys : ${{ runner.os }}-sbt-test-
53
-
54
- - name : Cache Coursier and Mill
55
- uses : actions/cache@v2
56
- with :
57
- path : /root/.cache
58
- key : ${{ runner.os }}-general-test-${{ hashFiles('**/build.sbt') }}
59
- restore-keys : ${{ runner.os }}-general-test-
60
-
61
40
- name : Test
62
41
run : |
63
42
./project/scripts/sbt ";compile ;test"
82
61
- name : Git Checkout
83
62
uses : actions/checkout@v2
84
63
85
- - name : Cache Ivy
86
- uses : actions/cache@v2
87
- with :
88
- path : /root/.ivy2/cache
89
- key : ${{ runner.os }}-ivy-test-${{ hashFiles('**/build.sbt') }}
90
- restore-keys : ${{ runner.os }}-ivy-test-
91
-
92
- - name : Cache SBT
93
- uses : actions/cache@v2
94
- with :
95
- path : /root/.sbt
96
- key : ${{ runner.os }}-sbt-test-${{ hashFiles('project/**') }}
97
- restore-keys : ${{ runner.os }}-sbt-test-
98
-
99
- - name : Cache Coursier and Mill
100
- uses : actions/cache@v2
101
- with :
102
- path : /root/.cache
103
- key : ${{ runner.os }}-general-bs-${{ hashFiles('**/build.sbt') }}
104
- restore-keys : |
105
- ${{ runner.os }}-general-bs-
106
- ${{ runner.os }}-general-test-
107
-
108
64
- name : Test
109
65
run : |
110
66
./project/scripts/sbt ";scala3-bootstrapped/compile ;scala3-bootstrapped/test;sjsSandbox/run;sjsSandbox/test;sjsJUnitTests/test;sjsCompilerTests/test ;sbt-dotty/scripted scala2-compat/* ;configureIDE ;stdlib-bootstrapped/test:run ;stdlib-bootstrapped-tasty-tests/test"
@@ -169,29 +125,6 @@ jobs:
169
125
git submodule sync
170
126
git submodule update --init --recursive --jobs 7
171
127
172
- - name : Cache Ivy
173
- uses : actions/cache@v2
174
- with :
175
- path : /root/.ivy2/cache
176
- key : ${{ runner.os }}-ivy-cb-${{ hashFiles('**/build.sbt') }}
177
- restore-keys : ${{ runner.os }}-ivy-cb-
178
-
179
- - name : Cache SBT
180
- uses : actions/cache@v2
181
- with :
182
- path : /root/.sbt
183
- key : ${{ runner.os }}-sbt-cb-${{ hashFiles('project/**') }}
184
- restore-keys : ${{ runner.os }}-sbt-cb-
185
-
186
- - name : Cache Coursier and Mill
187
- uses : actions/cache@v2
188
- with :
189
- path : /root/.cache
190
- key : ${{ runner.os }}-general-cba-${{ hashFiles('**/build.sbt') }}
191
- restore-keys : |
192
- ${{ runner.os }}-general-cba-
193
- ${{ runner.os }}-general-test-
194
-
195
128
- name : Test
196
129
run : |
197
130
./project/scripts/sbt "community-build/testOnly dotty.communitybuild.CommunityBuildTestA"
@@ -215,29 +148,6 @@ jobs:
215
148
git submodule sync
216
149
git submodule update --init --recursive --jobs 7
217
150
218
- - name : Cache Ivy
219
- uses : actions/cache@v2
220
- with :
221
- path : /root/.ivy2/cache
222
- key : ${{ runner.os }}-ivy-cb-${{ hashFiles('**/build.sbt') }}
223
- restore-keys : ${{ runner.os }}-ivy-cb-
224
-
225
- - name : Cache SBT
226
- uses : actions/cache@v2
227
- with :
228
- path : /root/.sbt
229
- key : ${{ runner.os }}-sbt-cb-${{ hashFiles('project/**') }}
230
- restore-keys : ${{ runner.os }}-sbt-cb-
231
-
232
- - name : Cache Coursier and Mill
233
- uses : actions/cache@v2
234
- with :
235
- path : /root/.cache
236
- key : ${{ runner.os }}-general-cbb-${{ hashFiles('**/build.sbt') }}
237
- restore-keys : |
238
- ${{ runner.os }}-general-cbb-
239
- ${{ runner.os }}-general-test-
240
-
241
151
- name : Test
242
152
run : |
243
153
./project/scripts/sbt "community-build/testOnly dotty.communitybuild.CommunityBuildTestB"
@@ -261,27 +171,6 @@ jobs:
261
171
- name : Git Checkout
262
172
uses : actions/checkout@v2
263
173
264
- - name : Cache Ivy
265
- uses : actions/cache@v1.1.2
266
- with :
267
- path : /root/.ivy2/cache
268
- key : ${{ runner.os }}-ivy-${{ hashFiles('**/build.sbt') }}
269
- restore-keys : ${{ runner.os }}-ivy-
270
-
271
- - name : Cache SBT
272
- uses : actions/cache@v1.1.2
273
- with :
274
- path : /root/.sbt
275
- key : ${{ runner.os }}-sbt-${{ hashFiles('project/**') }}
276
- restore-keys : ${{ runner.os }}-sbt-
277
-
278
- - name : Cache Coursier and Mill
279
- uses : actions/cache@v1.1.2
280
- with :
281
- path : /root/.cache
282
- key : ${{ runner.os }}-general-${{ hashFiles('**/build.sbt') }}
283
- restore-keys : ${{ runner.os }}-general-
284
-
285
174
- name : Test
286
175
run : ./project/scripts/sbt sbt-dotty/scripted
287
176
@@ -308,27 +197,6 @@ jobs:
308
197
- name : Git Checkout
309
198
uses : actions/checkout@v2
310
199
311
- - name : Cache Ivy
312
- uses : actions/cache@v1.1.2
313
- with :
314
- path : /root/.ivy2/cache
315
- key : ${{ runner.os }}-ivy-${{ hashFiles('**/build.sbt') }}
316
- restore-keys : ${{ runner.os }}-ivy-
317
-
318
- - name : Cache SBT
319
- uses : actions/cache@v1.1.2
320
- with :
321
- path : /root/.sbt
322
- key : ${{ runner.os }}-sbt-${{ hashFiles('project/**') }}
323
- restore-keys : ${{ runner.os }}-sbt-
324
-
325
- - name : Cache Coursier and Mill
326
- uses : actions/cache@v1.1.2
327
- with :
328
- path : /root/.cache
329
- key : ${{ runner.os }}-general-${{ hashFiles('**/build.sbt') }}
330
- restore-keys : ${{ runner.os }}-general-
331
-
332
200
- name : Test
333
201
run : ./project/scripts/sbt ";compile ;test"
334
202
@@ -354,27 +222,6 @@ jobs:
354
222
- name : Git Checkout
355
223
uses : actions/checkout@v2
356
224
357
- - name : Cache Ivy
358
- uses : actions/cache@v1.1.2
359
- with :
360
- path : /root/.ivy2/cache
361
- key : ${{ runner.os }}-ivy-${{ hashFiles('**/build.sbt') }}
362
- restore-keys : ${{ runner.os }}-ivy-
363
-
364
- - name : Cache SBT
365
- uses : actions/cache@v1.1.2
366
- with :
367
- path : /root/.sbt
368
- key : ${{ runner.os }}-sbt-${{ hashFiles('project/**') }}
369
- restore-keys : ${{ runner.os }}-sbt-
370
-
371
- - name : Cache Coursier and Mill
372
- uses : actions/cache@v1.1.2
373
- with :
374
- path : /root/.cache
375
- key : ${{ runner.os }}-general-${{ hashFiles('**/build.sbt') }}
376
- restore-keys : ${{ runner.os }}-general-
377
-
378
225
- name : Publish Nightly
379
226
run : |
380
227
./project/scripts/sbtPublish ";project scala3-bootstrapped ;publishSigned ;sonatypeBundleRelease"
@@ -400,27 +247,6 @@ jobs:
400
247
- name : Git Checkout
401
248
uses : actions/checkout@v2
402
249
403
- - name : Cache Ivy
404
- uses : actions/cache@v1.1.2
405
- with :
406
- path : /root/.ivy2/cache
407
- key : ${{ runner.os }}-ivy-${{ hashFiles('**/build.sbt') }}
408
- restore-keys : ${{ runner.os }}-ivy-
409
-
410
- - name : Cache SBT
411
- uses : actions/cache@v1.1.2
412
- with :
413
- path : /root/.sbt
414
- key : ${{ runner.os }}-sbt-${{ hashFiles('project/**') }}
415
- restore-keys : ${{ runner.os }}-sbt-
416
-
417
- - name : Cache Coursier and Mill
418
- uses : actions/cache@v1.1.2
419
- with :
420
- path : /root/.cache
421
- key : ${{ runner.os }}-general-${{ hashFiles('**/build.sbt') }}
422
- restore-keys : ${{ runner.os }}-general-
423
-
424
250
- name : Generate Website
425
251
run : |
426
252
./project/scripts/genDocs -doc-snapshot
@@ -458,27 +284,6 @@ jobs:
458
284
- name : Git Checkout
459
285
uses : actions/checkout@v2
460
286
461
- - name : Cache Ivy
462
- uses : actions/cache@v1.1.2
463
- with :
464
- path : /root/.ivy2/cache
465
- key : ${{ runner.os }}-ivy-${{ hashFiles('**/build.sbt') }}
466
- restore-keys : ${{ runner.os }}-ivy-
467
-
468
- - name : Cache SBT
469
- uses : actions/cache@v1.1.2
470
- with :
471
- path : /root/.sbt
472
- key : ${{ runner.os }}-sbt-${{ hashFiles('project/**') }}
473
- restore-keys : ${{ runner.os }}-sbt-
474
-
475
- - name : Cache Coursier and Mill
476
- uses : actions/cache@v1.1.2
477
- with :
478
- path : /root/.cache
479
- key : ${{ runner.os }}-general-${{ hashFiles('**/build.sbt') }}
480
- restore-keys : ${{ runner.os }}-general-
481
-
482
287
- name : Publish Release
483
288
run : |
484
289
./project/scripts/sbt dist/packArchive
@@ -552,27 +357,6 @@ jobs:
552
357
- name : Git Checkout
553
358
uses : actions/checkout@v2
554
359
555
- - name : Cache Ivy
556
- uses : actions/cache@v1.1.2
557
- with :
558
- path : /root/.ivy2/cache
559
- key : ${{ runner.os }}-ivy-${{ hashFiles('**/build.sbt') }}
560
- restore-keys : ${{ runner.os }}-ivy-
561
-
562
- - name : Cache SBT
563
- uses : actions/cache@v1.1.2
564
- with :
565
- path : /root/.sbt
566
- key : ${{ runner.os }}-sbt-${{ hashFiles('project/**') }}
567
- restore-keys : ${{ runner.os }}-sbt-
568
-
569
- - name : Cache Coursier and Mill
570
- uses : actions/cache@v1.1.2
571
- with :
572
- path : /root/.cache
573
- key : ${{ runner.os }}-general-${{ hashFiles('**/build.sbt') }}
574
- restore-keys : ${{ runner.os }}-general-
575
-
576
360
- name : Generate Website
577
361
run : |
578
362
./project/scripts/genDocs -doc-snapshot
@@ -609,27 +393,6 @@ jobs:
609
393
- name : Git Checkout
610
394
uses : actions/checkout@v2
611
395
612
- - name : Cache Ivy
613
- uses : actions/cache@v1.1.2
614
- with :
615
- path : /root/.ivy2/cache
616
- key : ${{ runner.os }}-ivy-${{ hashFiles('**/build.sbt') }}
617
- restore-keys : ${{ runner.os }}-ivy-
618
-
619
- - name : Cache SBT
620
- uses : actions/cache@v1.1.2
621
- with :
622
- path : /root/.sbt
623
- key : ${{ runner.os }}-sbt-${{ hashFiles('project/**') }}
624
- restore-keys : ${{ runner.os }}-sbt-
625
-
626
- - name : Cache Coursier and Mill
627
- uses : actions/cache@v1.1.2
628
- with :
629
- path : /root/.cache
630
- key : ${{ runner.os }}-general-${{ hashFiles('**/build.sbt') }}
631
- restore-keys : ${{ runner.os }}-general-
632
-
633
396
- name : Publish Dotty SBT Plugin Release
634
397
run : |
635
398
./project/scripts/sbtPublish ";project sbt-dotty ;publishSigned ;sonatypeBundleRelease"
0 commit comments