Skip to content

Commit

Permalink
test with latest scala releases (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning authored Oct 31, 2023
1 parent f0f9853 commit 505215d
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 20 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
fail-fast: false
matrix:
include:
- { javaVersion: 8, scalaVersion: 2.12.18, pekkoVersion: 'default' }
- { javaVersion: 8, scalaVersion: 2.12.18, pekkoVersion: 'main' }
- { javaVersion: 8, scalaVersion: 2.13.11, pekkoVersion: 'default' }
- { javaVersion: 8, scalaVersion: 2.13.11, pekkoVersion: 'main' }
- { javaVersion: 8, scalaVersion: 3.3.0, pekkoVersion: 'default' }
- { javaVersion: 8, scalaVersion: 3.3.0, pekkoVersion: 'main' }
- { javaVersion: 8, scalaVersion: 2.12, pekkoVersion: 'default' }
- { javaVersion: 8, scalaVersion: 2.12, pekkoVersion: 'main' }
- { javaVersion: 8, scalaVersion: 2.13, pekkoVersion: 'default' }
- { javaVersion: 8, scalaVersion: 2.13, pekkoVersion: 'main' }
- { javaVersion: 8, scalaVersion: 3.3, pekkoVersion: 'default' }
- { javaVersion: 8, scalaVersion: 3.3, pekkoVersion: 'main' }
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:
fail-fast: false
matrix:
include:
- { javaVersion: 8, scalaVersion: 2.12.18, sbtOpts: '' }
- { javaVersion: 11, scalaVersion: 2.12.18, sbtOpts: '-J-XX:+UnlockExperimentalVMOptions -J-XX:+UseJVMCICompiler' }
- { javaVersion: 8, scalaVersion: 2.13.11, sbtOpts: '' }
- { javaVersion: 11, scalaVersion: 2.13.11, sbtOpts: '-J-XX:+UnlockExperimentalVMOptions -J-XX:+UseJVMCICompiler' }
- { javaVersion: 8, scalaVersion: 3.3.0, sbtOpts: '' }
- { javaVersion: 11, scalaVersion: 3.3.0, sbtOpts: '-J-XX:+UnlockExperimentalVMOptions -J-XX:+UseJVMCICompiler' }
- { javaVersion: 8, scalaVersion: 2.12, sbtOpts: '' }
- { javaVersion: 11, scalaVersion: 2.12, sbtOpts: '-J-XX:+UnlockExperimentalVMOptions -J-XX:+UseJVMCICompiler' }
- { javaVersion: 8, scalaVersion: 2.13, sbtOpts: '' }
- { javaVersion: 11, scalaVersion: 2.13, sbtOpts: '-J-XX:+UnlockExperimentalVMOptions -J-XX:+UseJVMCICompiler' }
- { javaVersion: 8, scalaVersion: 3.3, sbtOpts: '' }
- { javaVersion: 11, scalaVersion: 3.3, sbtOpts: '-J-XX:+UnlockExperimentalVMOptions -J-XX:+UseJVMCICompiler' }
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
11 changes: 6 additions & 5 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import sbt._
object Dependencies {
// keep in sync with .github/workflows/unit-tests.yml
val scala212Version = "2.12.18"
val scala213Version = "2.13.11"
val scala3Version = "3.3.0"
val scala213Version = "2.13.12"
val scala3Version = "3.3.1"
val crossScalaVersions = Seq(scala212Version, scala213Version, scala3Version)

val pekkoVersion = PekkoDependency.pekkoVersion
Expand All @@ -26,6 +26,7 @@ object Dependencies {
val jacksonVersion = "2.14.3"

val log4j2Version = "2.17.2"
val logbackVersion = "1.2.11"

// often called-in transitively with insecure versions of databind / core
private val jacksonDatabind = Seq(
Expand All @@ -45,7 +46,7 @@ object Dependencies {
"org.scalatest" %% "scalatest" % scalaTestVersion % Test,
"org.apache.pekko" %% "pekko-testkit" % pekkoVersion % Test,
"org.apache.pekko" %% "pekko-slf4j" % pekkoVersion % Test,
"ch.qos.logback" % "logback-classic" % "1.2.11" % Test) ++ jacksonDatabind ++ jacksonDatatype // consul depends on insecure version of jackson
"ch.qos.logback" % "logback-classic" % logbackVersion % Test) ++ jacksonDatabind ++ jacksonDatatype // consul depends on insecure version of jackson

val discoveryKubernetesApi = Seq(
"org.apache.pekko" %% "pekko-actor" % pekkoVersion,
Expand Down Expand Up @@ -99,7 +100,7 @@ object Dependencies {
"org.apache.pekko" %% "pekko-actor" % pekkoVersion,
"org.apache.pekko" %% "pekko-slf4j" % pekkoVersion,
"org.apache.pekko" %% "pekko-stream" % pekkoVersion,
"ch.qos.logback" % "logback-classic" % "1.2.11",
"ch.qos.logback" % "logback-classic" % logbackVersion,
"org.apache.pekko" %% "pekko-http" % pekkoHttpVersion,
"org.apache.pekko" %% "pekko-http-spray-json" % pekkoHttpVersion,
"org.scalatest" %% "scalatest" % scalaTestVersion % Test,
Expand Down Expand Up @@ -161,7 +162,7 @@ object Dependencies {
"org.apache.pekko" %% "pekko-discovery" % pekkoVersion,
"org.apache.pekko" %% "pekko-testkit" % pekkoVersion % Test,
"org.apache.pekko" %% "pekko-slf4j" % pekkoVersion,
"ch.qos.logback" % "logback-classic" % "1.2.11",
"ch.qos.logback" % "logback-classic" % logbackVersion,
"org.scalatest" %% "scalatest" % scalaTestVersion % Test)

}
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.6
sbt.version=1.9.7
4 changes: 2 additions & 2 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ addSbtPlugin("com.thoughtworks.sbt-api-mappings" % "sbt-api-mappings" % "3.0.2")
addSbtPlugin("com.dwijnand" % "sbt-dynver" % "4.1.1")
addSbtPlugin("net.bzzt" % "sbt-reproducible-builds" % "0.31")
addSbtPlugin("org.mdedetrich" % "sbt-apache-sonatype" % "0.1.10")
addSbtPlugin("com.github.pjfanning" % "sbt-source-dist" % "0.1.10")
addSbtPlugin("com.github.pjfanning" % "sbt-source-dist" % "0.1.11")
addSbtPlugin("com.github.sbt" % "sbt-license-report" % "1.6.1")
addSbtPlugin("com.typesafe.sbt" % "sbt-git" % "1.0.2")
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "1.1.0")
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "1.1.3")

// We have to deliberately use older versions of sbt-paradox because current Pekko sbt build
// only loads on JDK 1.8 so we need to bring in older versions of parboiled which support JDK 1.8
Expand Down

0 comments on commit 505215d

Please sign in to comment.