Skip to content

Commit eb28cbd

Browse files
committed
Remove all uses of actions/cache
1 parent a6d102f commit eb28cbd

File tree

1 file changed

+0
-237
lines changed

1 file changed

+0
-237
lines changed

.github/workflows/ci.yaml

Lines changed: 0 additions & 237 deletions
Original file line numberDiff line numberDiff line change
@@ -37,27 +37,6 @@ jobs:
3737
- name: Git Checkout
3838
uses: actions/checkout@v2
3939

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-
6140
- name: Test
6241
run: |
6342
./project/scripts/sbt ";compile ;test"
@@ -82,29 +61,6 @@ jobs:
8261
- name: Git Checkout
8362
uses: actions/checkout@v2
8463

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-
10864
- name: Test
10965
run: |
11066
./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:
169125
git submodule sync
170126
git submodule update --init --recursive --jobs 7
171127
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-
195128
- name: Test
196129
run: |
197130
./project/scripts/sbt "community-build/testOnly dotty.communitybuild.CommunityBuildTestA"
@@ -215,29 +148,6 @@ jobs:
215148
git submodule sync
216149
git submodule update --init --recursive --jobs 7
217150
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-
241151
- name: Test
242152
run: |
243153
./project/scripts/sbt "community-build/testOnly dotty.communitybuild.CommunityBuildTestB"
@@ -261,27 +171,6 @@ jobs:
261171
- name: Git Checkout
262172
uses: actions/checkout@v2
263173

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-
285174
- name: Test
286175
run: ./project/scripts/sbt sbt-dotty/scripted
287176

@@ -308,27 +197,6 @@ jobs:
308197
- name: Git Checkout
309198
uses: actions/checkout@v2
310199

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-
332200
- name: Test
333201
run: ./project/scripts/sbt ";compile ;test"
334202

@@ -354,27 +222,6 @@ jobs:
354222
- name: Git Checkout
355223
uses: actions/checkout@v2
356224

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-
378225
- name: Publish Nightly
379226
run: |
380227
./project/scripts/sbtPublish ";project scala3-bootstrapped ;publishSigned ;sonatypeBundleRelease"
@@ -400,27 +247,6 @@ jobs:
400247
- name: Git Checkout
401248
uses: actions/checkout@v2
402249

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-
424250
- name: Generate Website
425251
run: |
426252
./project/scripts/genDocs -doc-snapshot
@@ -458,27 +284,6 @@ jobs:
458284
- name: Git Checkout
459285
uses: actions/checkout@v2
460286

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-
482287
- name: Publish Release
483288
run: |
484289
./project/scripts/sbt dist/packArchive
@@ -552,27 +357,6 @@ jobs:
552357
- name: Git Checkout
553358
uses: actions/checkout@v2
554359

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-
576360
- name: Generate Website
577361
run: |
578362
./project/scripts/genDocs -doc-snapshot
@@ -609,27 +393,6 @@ jobs:
609393
- name: Git Checkout
610394
uses: actions/checkout@v2
611395

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-
633396
- name: Publish Dotty SBT Plugin Release
634397
run: |
635398
./project/scripts/sbtPublish ";project sbt-dotty ;publishSigned ;sonatypeBundleRelease"

0 commit comments

Comments
 (0)