Skip to content

Commit a276f4d

Browse files
committed
Switch to Java 17 in the CI
1 parent e96cb18 commit a276f4d

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

Diff for: .github/workflows/ci.yaml

+19-19
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
test_non_bootstrapped:
4848
runs-on: [self-hosted, Linux]
4949
container:
50-
image: lampepfl/dotty:2021-03-22
50+
image: lampepfl/dotty:2023-11-07
5151
options: --cpu-shares 4096
5252
volumes:
5353
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
@@ -65,8 +65,8 @@ jobs:
6565
&& github.repository == 'lampepfl/dotty'
6666
)"
6767
steps:
68-
- name: Set JDK 16 as default
69-
run: echo "/usr/lib/jvm/java-16-openjdk-amd64/bin" >> $GITHUB_PATH
68+
- name: Set JDK 17 as default
69+
run: echo "/usr/lib/jvm/java-17-openjdk-amd64/bin" >> $GITHUB_PATH
7070

7171
- name: Reset existing repo
7272
run: git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true
@@ -96,7 +96,7 @@ jobs:
9696
test:
9797
runs-on: [self-hosted, Linux]
9898
container:
99-
image: lampepfl/dotty:2021-03-22
99+
image: lampepfl/dotty:2023-11-07
100100
options: --cpu-shares 4096
101101
volumes:
102102
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
@@ -116,8 +116,8 @@ jobs:
116116
)"
117117

118118
steps:
119-
- name: Set JDK 16 as default
120-
run: echo "/usr/lib/jvm/java-16-openjdk-amd64/bin" >> $GITHUB_PATH
119+
- name: Set JDK 17 as default
120+
run: echo "/usr/lib/jvm/java-17-openjdk-amd64/bin" >> $GITHUB_PATH
121121

122122
- name: Reset existing repo
123123
run: git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true
@@ -153,7 +153,7 @@ jobs:
153153
test_scala2_library_tasty:
154154
runs-on: [self-hosted, Linux]
155155
container:
156-
image: lampepfl/dotty:2021-03-22
156+
image: lampepfl/dotty:2023-11-07
157157
options: --cpu-shares 4096
158158
volumes:
159159
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
@@ -170,8 +170,8 @@ jobs:
170170
)"
171171

172172
steps:
173-
- name: Set JDK 16 as default
174-
run: echo "/usr/lib/jvm/java-16-openjdk-amd64/bin" >> $GITHUB_PATH
173+
- name: Set JDK 17 as default
174+
run: echo "/usr/lib/jvm/java-17-openjdk-amd64/bin" >> $GITHUB_PATH
175175

176176
- name: Reset existing repo
177177
run: git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true
@@ -271,7 +271,7 @@ jobs:
271271
name: MiMa
272272
runs-on: [self-hosted, Linux]
273273
container:
274-
image: lampepfl/dotty:2021-03-22
274+
image: lampepfl/dotty:2023-11-07
275275
options: --cpu-shares 4096
276276
volumes:
277277
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
@@ -317,7 +317,7 @@ jobs:
317317
community_build_a:
318318
runs-on: [self-hosted, Linux]
319319
container:
320-
image: lampepfl/dotty:2021-03-22
320+
image: lampepfl/dotty:2023-11-07
321321
options: --cpu-shares 4096
322322
volumes:
323323
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
@@ -366,7 +366,7 @@ jobs:
366366
community_build_b:
367367
runs-on: [self-hosted, Linux]
368368
container:
369-
image: lampepfl/dotty:2021-03-22
369+
image: lampepfl/dotty:2023-11-07
370370
options: --cpu-shares 4096
371371
volumes:
372372
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
@@ -415,7 +415,7 @@ jobs:
415415
community_build_c:
416416
runs-on: [self-hosted, Linux]
417417
container:
418-
image: lampepfl/dotty:2020-11-19
418+
image: lampepfl/dotty:2023-11-07
419419
options: --cpu-shares 4096
420420
volumes:
421421
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
@@ -464,7 +464,7 @@ jobs:
464464
test_sbt:
465465
runs-on: [self-hosted, Linux]
466466
container:
467-
image: lampepfl/dotty:2021-03-22
467+
image: lampepfl/dotty:2023-11-07
468468
options: --cpu-shares 4096
469469
volumes:
470470
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
@@ -504,7 +504,7 @@ jobs:
504504
test_java8:
505505
runs-on: [self-hosted, Linux]
506506
container:
507-
image: lampepfl/dotty:2021-03-22
507+
image: lampepfl/dotty:2023-11-07
508508
options: --cpu-shares 4096
509509
volumes:
510510
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
@@ -558,7 +558,7 @@ jobs:
558558
publish_nightly:
559559
runs-on: [self-hosted, Linux]
560560
container:
561-
image: lampepfl/dotty:2021-03-22
561+
image: lampepfl/dotty:2023-11-07
562562
options: --cpu-shares 4096
563563
volumes:
564564
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
@@ -609,7 +609,7 @@ jobs:
609609
nightly_documentation:
610610
runs-on: [self-hosted, Linux]
611611
container:
612-
image: lampepfl/dotty:2021-03-22
612+
image: lampepfl/dotty:2023-11-07
613613
options: --cpu-shares 4096
614614
volumes:
615615
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
@@ -660,7 +660,7 @@ jobs:
660660
contents: write # for actions/create-release to create a release
661661
runs-on: [self-hosted, Linux]
662662
container:
663-
image: lampepfl/dotty:2021-03-22
663+
image: lampepfl/dotty:2023-11-07
664664
options: --cpu-shares 4096
665665
volumes:
666666
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
@@ -748,7 +748,7 @@ jobs:
748748
open_issue_on_failure:
749749
runs-on: [self-hosted, Linux]
750750
container:
751-
image: lampepfl/dotty:2021-03-22
751+
image: lampepfl/dotty:2023-11-07
752752
needs: [nightly_documentation, test_windows_full]
753753
# The `failure()` expression is true iff at least one of the dependencies
754754
# of this job (including transitive dependencies) has failed.

0 commit comments

Comments
 (0)