Skip to content

Commit

Permalink
Merge pull request #376 from lichess-org/scala3.6.2
Browse files Browse the repository at this point in the history
- Bump Scala 3.6.2
- scalafix & scalafmt snapshot
- fix sip 64 warnings
  • Loading branch information
lenguyenthanh authored Dec 28, 2024
2 parents 2e5c6d3 + 33ee486 commit 144f3c4
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = "3.8.3"
version = "3.8.4-RC4"
runner.dialect = scala3

align.preset = more
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/scala/RedisSubscriberJob.scala
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ object RedisSubscriberJob:
.match
case Some(request) => executor.add(request)
case None => Logger[IO].warn(s"Failed to parse message from lila: $msg")
>> Logger[IO].debug(s"Received message: $msg")
>> Logger[IO].debug(s"Received message: $msg")
) *> pubsub.runMessages).background.void
2 changes: 1 addition & 1 deletion app/src/main/scala/http/MkHttpServer.scala
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ object MkHttpServer:

def apply()(using server: MkHttpServer): MkHttpServer = server

given forAsyncLogger(using Logger[IO]): MkHttpServer = new:
given Logger[IO] => MkHttpServer = new:

def newEmber(cfg: HttpServerConfig, httpApp: HttpApp[IO]): Resource[IO, Server] = EmberServerBuilder
.default[IO]
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import org.typelevel.scalacoptions.ScalacOptions

inThisBuild(
Seq(
scalaVersion := "3.5.2",
scalaVersion := "3.6.2",
versionScheme := Some("early-semver"),
run / fork := true,
run / javaOptions += "-Dconfig.override_with_env_vars=true",
Expand Down
2 changes: 2 additions & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@ addSbtPlugin("com.github.sbt" % "sbt-native-packager" % "1.10.4")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2")
addSbtPlugin("org.typelevel" % "sbt-tpolecat" % "0.5.2")
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.13.0")
resolvers += Resolver.sonatypeRepo("snapshots")
dependencyOverrides += "ch.epfl.scala" % "scalafix-interfaces" % "0.13.0+95-69a3e105-SNAPSHOT"
addSbtPlugin("nl.gn0s1s" % "sbt-dotenv" % "3.1.0")
addSbtPlugin("com.github.sbt" % "sbt-release" % "1.4.0")

0 comments on commit 144f3c4

Please sign in to comment.