Skip to content

Commit

Permalink
Drop JDK8 builds (#204)
Browse files Browse the repository at this point in the history
* Drop JDK8 builds

* Bump SBT version up
  • Loading branch information
pomadchin authored May 11, 2024
1 parent 2b38ba7 commit 174637b
Show file tree
Hide file tree
Showing 13 changed files with 22 additions and 14 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
java: [8, 11, 17]
java: [11, 17, 21]
distribution: [temurin]
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -26,7 +26,15 @@ jobs:
with:
distribution: ${{ matrix.distribution }}
java-version: ${{ matrix.java }}

- run: brew install sbt
if: ${{ matrix.os == 'macos-latest' }}

- run: python3 -m pip install --break-system-packages meson ninja
if: ${{ matrix.os == 'macos-latest' }}

- run: python3 -m pip install meson ninja
if: ${{ matrix.os == 'ubuntu-latest' }}

- name: Check formatting
run: sbt scalafmtCheckAll
Expand All @@ -41,7 +49,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
java: [8]
java: [11]
distribution: [temurin]
runs-on: ${{ matrix.os }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import scala.sys.process._

val scalaVersions = Seq("3.4.1", "2.13.13", "2.12.19", "2.11.12")
val scalaVersions = Seq("3.4.1", "2.13.14", "2.12.19", "2.11.12")
val macrosParadiseVersion = "2.1.1"

ThisBuild / versionScheme := Some("semver-spec")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ object ScriptedHelper extends AutoPlugin {

override def projectSettings = Seq(
scalacOptions ++= Seq("-feature", "-deprecation"),
crossScalaVersions := Seq("2.13.13", "2.12.14"),
crossScalaVersions := Seq("2.13.14", "2.12.19"),
scalaVersion := crossScalaVersions.value.head
)

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ object ScriptedHelper extends AutoPlugin {

override def projectSettings = Seq(
scalacOptions ++= Seq("-feature", "-deprecation"),
crossScalaVersions := Seq("2.13.13", "2.12.19"),
crossScalaVersions := Seq("2.13.14", "2.12.19"),
scalaVersion := crossScalaVersions.value.head
)

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ object ScriptedHelper extends AutoPlugin {

override def projectSettings = Seq(
scalacOptions ++= Seq("-feature", "-deprecation"),
crossScalaVersions := Seq("2.13.13", "2.12.19"),
crossScalaVersions := Seq("2.13.14", "2.12.19"),
scalaVersion := crossScalaVersions.value.head
)

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ object ScriptedHelper extends AutoPlugin {

override def projectSettings = Seq(
scalacOptions ++= Seq("-feature", "-deprecation"),
crossScalaVersions := Seq("3.4.1", "2.13.13", "2.12.19"),
crossScalaVersions := Seq("3.4.1", "2.13.14", "2.12.19"),
scalaVersion := crossScalaVersions.value.head
)

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ object ScriptedHelper extends AutoPlugin {

override def projectSettings = Seq(
scalacOptions ++= Seq("-feature", "-deprecation"),
crossScalaVersions := Seq("2.13.13", "2.12.19"),
crossScalaVersions := Seq("2.13.14", "2.12.19"),
scalaVersion := crossScalaVersions.value.head
)

Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.9.9
sbt.version=1.10.0
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.9.9
sbt.version=1.10.0

0 comments on commit 174637b

Please sign in to comment.