diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e356c429..fc4a1996 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,7 +38,7 @@ jobs: fail-fast: false matrix: java: ['17', '21'] - scala: ['2.13.13'] + scala: ['2.13.15'] steps: - name: Checkout current branch uses: actions/checkout@v4.1.2 @@ -79,7 +79,7 @@ jobs: fail-fast: false matrix: java: ['17', '21'] - scala: ['2.12.19', '2.13.13', '3.3.4'] + scala: ['2.12.19', '2.13.15', '3.3.4'] platform: ['JVM', 'JS', 'Native'] steps: - name: Checkout current branch diff --git a/project/BuildHelper.scala b/project/BuildHelper.scala index fc94a15d..77ec4c3c 100644 --- a/project/BuildHelper.scala +++ b/project/BuildHelper.scala @@ -22,7 +22,7 @@ object BuildHelper { val Scala213: String = versions("2.13") val ScalaDotty: String = "3.3.4" - val SilencerVersion = "1.7.16" + val SilencerVersion = "1.7.19" private val stdOptions = Seq( "-deprecation", @@ -32,7 +32,8 @@ object BuildHelper { "-unchecked" ) ++ { if (sys.env.contains("CI")) { - Seq("-Xfatal-warnings") + // Seq("-Xfatal-warnings") // enable this when we are ready to enforce this + Nil } else { Nil // to enable Scalafix locally } @@ -229,7 +230,7 @@ object BuildHelper { }, semanticdbEnabled := scalaVersion.value != ScalaDotty, // enable SemanticDB semanticdbOptions += "-P:semanticdb:synthetics:on", - semanticdbVersion := "4.9.2", + semanticdbVersion := "4.10.2", Test / parallelExecution := true, incOptions ~= (_.withLogRecompileOnMacro(false)), autoAPIMappings := true, diff --git a/zio-json-golden/src/main/scala/zio/json/golden/package.scala b/zio-json-golden/src/main/scala/zio/json/golden/package.scala index e36fcfc7..8bdf6aec 100644 --- a/zio-json-golden/src/main/scala/zio/json/golden/package.scala +++ b/zio-json-golden/src/main/scala/zio/json/golden/package.scala @@ -27,7 +27,7 @@ package object golden { else DiffResult.Different(x, y) } - @nowarn implicit private lazy val diff: Diff[GoldenSample] = (x: GoldenSample, y: GoldenSample) => + implicit private lazy val diff: Diff[GoldenSample] = (x: GoldenSample, y: GoldenSample) => Diff[Json].diff(x.samples, y.samples) def goldenTest[A: Tag: JsonEncoder](