diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 89263ef..f8e9803 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,10 +10,13 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Set up JDK 11 - uses: actions/setup-java@v1 + - uses: actions/checkout@v4 + - name: Set up JDK 21 + uses: actions/setup-java@v4 with: - java-version: 11 + distribution: temurin + java-version: 21 + - name: Setup sbt launcher + uses: sbt/setup-sbt@v1 - name: Run tests run: sbt test diff --git a/build.sbt b/build.sbt index 22a7ea6..6890f02 100644 --- a/build.sbt +++ b/build.sbt @@ -3,20 +3,20 @@ organization := "com.signalpath" version := "1.2" lazy val versions = new { - val scala212 = "2.12.11" - val scala213 = "2.13.10" + val scala212 = "2.12.20" + val scala213 = "2.13.15" val supportedScalaVersions = List(scala212, scala213) } crossScalaVersions := versions.supportedScalaVersions libraryDependencies ++= Seq( - "co.fs2" %% "fs2-core" % "2.5.6", - "com.github.alonsodomin.cron4s" %% "cron4s-core" % "0.6.1", - "eu.timepit" %% "fs2-cron-cron4s" % "0.5.0", - "org.typelevel" %% "cats-core" % "2.6.1", - "org.scalatest" %% "scalatest" % "3.1.2" % Test, - "org.scalamock" %% "scalamock" % "5.2.0" % Test, + "co.fs2" %% "fs2-core" % "2.5.10", + "com.github.alonsodomin.cron4s" %% "cron4s-core" % "0.6.1", // tied to fs2-cron-cron4s below + "eu.timepit" %% "fs2-cron-cron4s" % "0.5.0", // code needs to be reworked if we want to up these + "org.typelevel" %% "cats-core" % "2.13.0", + "org.scalatest" %% "scalatest" % "3.2.19" % Test, + "org.scalamock" %% "scalamock" % "6.1.1" % Test, ) bintrayOrganization := Some("signalpath") diff --git a/project/build.properties b/project/build.properties new file mode 100644 index 0000000..73df629 --- /dev/null +++ b/project/build.properties @@ -0,0 +1 @@ +sbt.version=1.10.7