Skip to content

Update Scala to 3.0.2 #834

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Sep 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
scala: [3.0.1, 2.12.15, 2.13.6]
scala: [3.0.2, 2.12.15, 2.13.6]
java: [[email protected], [email protected]]
platform: [jvm]
workers: [1, 4]
include:
- workers: 1
os: ubuntu-latest
java: [email protected]
scala: 3.0.1
scala: 3.0.2
platform: js
- workers: 1
os: ubuntu-latest
Expand Down
8 changes: 6 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ sourceDirectory := file("dummy source directory")

val Scala212 = "2.12.15"
val Scala213 = "2.13.6"
val Scala3 = "3.0.1"
val Scala3 = "3.0.2"

ThisBuild / crossScalaVersions := Seq(Scala3, Scala212, Scala213)
ThisBuild / scalaVersion := (ThisBuild / crossScalaVersions).value.last
Expand Down Expand Up @@ -173,7 +173,11 @@ lazy val sharedSettings = MimaSettings.settings ++ Seq(
Test / scalacOptions ~= (_ filterNot (_ == "-Xfatal-warnings")),

autoAPIMappings := true,
mimaReportSignatureProblems := true,
// Mima signature checking stopped working after 3.0.2 upgrade, see #834
mimaReportSignatureProblems := (CrossVersion.partialVersion(scalaVersion.value) match {
case Some((3, _)) => false
case _ => true
}),
mimaPreviousArtifacts := Set("org.scalacheck" %%% "scalacheck" % "1.15.4"),

publishTo := {
Expand Down
2 changes: 1 addition & 1 deletion examples/commands-leveldb/build.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name := "commands-leveldb"

scalaVersion := "3.0.1"
scalaVersion := "3.0.2"

libraryDependencies ++= Seq(
"org.scalacheck" %% "scalacheck" % "1.15.4" % Test,
Expand Down
2 changes: 1 addition & 1 deletion examples/commands-nix/build.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name := "commands-nix"

scalaVersion := "3.0.1"
scalaVersion := "3.0.2"

libraryDependencies ++= Seq(
"org.scalacheck" %% "scalacheck" % "1.15.4" % Test,
Expand Down
2 changes: 1 addition & 1 deletion examples/commands-redis/build.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name := "commands-redis"

scalaVersion := "3.0.1"
scalaVersion := "3.0.2"

libraryDependencies ++= Seq(
"org.scalacheck" %% "scalacheck" % "1.15.4" % Test,
Expand Down
2 changes: 1 addition & 1 deletion examples/scalajs/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ name := "ScalaCheck-scalajs-example"

version := "0.1-SNAPSHOT"

scalaVersion := "3.0.1"
scalaVersion := "3.0.2"

libraryDependencies += "org.scalacheck" %%% "scalacheck" % "1.15.4" % Test
2 changes: 1 addition & 1 deletion examples/simple-sbt/build.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name := "scalacheck-demo"

scalaVersion := "3.0.1"
scalaVersion := "3.0.2"

libraryDependencies += "org.scalacheck" %% "scalacheck" % "1.15.4" % Test

Expand Down