Skip to content

Commit ebd7320

Browse files
committed
Drop Java 11 and 17 from build (#376)
1 parent deb2697 commit ebd7320

File tree

2 files changed

+4
-40
lines changed

2 files changed

+4
-40
lines changed

.github/workflows/ci.yml

+1-38
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,7 @@ jobs:
2929
matrix:
3030
os: [ubuntu-latest]
3131
scala: [3.0.2, 2.12.15, 2.13.8]
32-
java: [temurin@8, temurin@11, temurin@17]
33-
exclude:
34-
- scala: 3.0.2
35-
java: temurin@11
36-
- scala: 3.0.2
37-
java: temurin@17
38-
- scala: 2.12.15
39-
java: temurin@11
40-
- scala: 2.12.15
41-
java: temurin@17
32+
java: [temurin@8]
4233
runs-on: ${{ matrix.os }}
4334
steps:
4435
- name: Checkout current branch (full)
@@ -53,20 +44,6 @@ jobs:
5344
distribution: temurin
5445
java-version: 8
5546

56-
- name: Setup Java (temurin@11)
57-
if: matrix.java == 'temurin@11'
58-
uses: actions/setup-java@v2
59-
with:
60-
distribution: temurin
61-
java-version: 11
62-
63-
- name: Setup Java (temurin@17)
64-
if: matrix.java == 'temurin@17'
65-
uses: actions/setup-java@v2
66-
with:
67-
distribution: temurin
68-
java-version: 17
69-
7047
- name: Cache sbt
7148
uses: actions/cache@v2
7249
with:
@@ -135,20 +112,6 @@ jobs:
135112
distribution: temurin
136113
java-version: 8
137114

138-
- name: Setup Java (temurin@11)
139-
if: matrix.java == 'temurin@11'
140-
uses: actions/setup-java@v2
141-
with:
142-
distribution: temurin
143-
java-version: 11
144-
145-
- name: Setup Java (temurin@17)
146-
if: matrix.java == 'temurin@17'
147-
uses: actions/setup-java@v2
148-
with:
149-
distribution: temurin
150-
java-version: 17
151-
152115
- name: Cache sbt
153116
uses: actions/cache@v2
154117
with:

build.sbt

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,15 @@ val Scala3 = "3.0.2"
88
ThisBuild / crossScalaVersions := Seq(Scala3, Scala212, Scala213)
99
ThisBuild / scalaVersion := crossScalaVersions.value.filter(_.startsWith("2.")).last
1010
ThisBuild / tlBaseVersion := "0.15"
11-
1211
ThisBuild / tlVersionIntroduced := Map(
1312
"2.13" -> "0.14.5",
1413
"3" -> "0.15.0"
1514
)
16-
1715
ThisBuild / tlFatalWarningsInCi := !tlIsScala3.value // See SSLStage
1816

17+
// 11 and 17 blocked by https://github.com/http4s/blaze/issues/376
18+
ThisBuild / githubWorkflowJavaVersions := Seq(JavaSpec.temurin("8"))
19+
1920
lazy val commonSettings = Seq(
2021
description := "NIO Framework for Scala",
2122
Test / scalacOptions ~= (_.filterNot(Set("-Ywarn-dead-code", "-Wdead-code"))), // because mockito

0 commit comments

Comments
 (0)