File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 31
31
run : sudo apt-get install libidn11-dev
32
32
- name : Compile
33
33
run : sbt -v compile
34
+ - name : Check MiMa # disable for major releases
35
+ run : sbt -v mimaReportBinaryIssues
34
36
- name : Test
35
37
run : sbt -v test
36
38
- name : Cleanup
Original file line number Diff line number Diff line change @@ -25,7 +25,10 @@ val commonSettings = commonSmlBuildSettings ++ ossPublishSettings ++ Seq(
25
25
organization := " com.softwaremill.sttp.shared" ,
26
26
libraryDependencies ++= Seq (
27
27
" org.scalatest" %% " scalatest" % scalaTestVersion % Test
28
- )
28
+ ),
29
+ mimaPreviousArtifacts := previousStableVersion.value.map(organization.value %% moduleName.value % _).toSet,
30
+ mimaReportBinaryIssues := { if ((publish / skip).value) {} else mimaReportBinaryIssues.value },
31
+ versionScheme := Some (" semver-spec" )
29
32
)
30
33
31
34
val commonJvmSettings = commonSettings ++ Seq (
Original file line number Diff line number Diff line change @@ -9,3 +9,4 @@ addSbtPlugin("com.softwaremill.sbt-softwaremill" % "sbt-softwaremill-publish" %
9
9
addSbtPlugin(" com.softwaremill.sbt-softwaremill" % " sbt-softwaremill-browser-test-js" % sbtSoftwareMillVersion)
10
10
11
11
addSbtPlugin(" org.jetbrains" % " sbt-ide-settings" % " 1.1.0" )
12
+ addSbtPlugin(" com.typesafe" % " sbt-mima-plugin" % " 0.9.2" )
You can’t perform that action at this time.
0 commit comments