diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a202d50..aafed07 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,4 +16,4 @@ jobs: distribution: 'temurin' java-version: '8' cache: 'sbt' - - run: sbt +test scripted mimaReportBinaryIssues + - run: sbt "+ test" "+ scripted" mimaReportBinaryIssues diff --git a/build.sbt b/build.sbt index b44aec3..363226b 100644 --- a/build.sbt +++ b/build.sbt @@ -61,9 +61,11 @@ val sbtdynver = project.dependsOn(dynverLib).enablePlugins(SbtPlugin).settings( scriptedDependencies := Seq(dynver / publishLocal, publishLocal).dependOn.value, scriptedLaunchOpts += s"-Dplugin.version=${version.value}", scriptedLaunchOpts += s"-Dsbt.boot.directory=${file(sys.props("user.home")) / ".sbt" / "boot"}", + crossScalaVersions += scala3, (pluginCrossBuild / sbtVersion) := { scalaBinaryVersion.value match { case "2.12" => "1.3.0" + case _ => "2.0.0-M2" } }, publishSettings, @@ -73,6 +75,7 @@ lazy val publishSettings = Def.settings( MimaSettings.mimaSettings, ) +crossScalaVersions += scala3 mimaPreviousArtifacts := Set.empty publish / skip := true Global / cancelable := true