File tree Expand file tree Collapse file tree 6 files changed +8
-3
lines changed Expand file tree Collapse file tree 6 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 1414 with :
1515 extraKey : pr-${GITHUB_HEAD_REF}
1616 - name : Check/Compile/Test
17- run : sbt check
17+ run : sbt versionPolicyCheck check
Original file line number Diff line number Diff line change 1414 java-version : 11
1515 - uses : coursier/cache-action@v5
1616 - name : Check/Compile/Test
17- run : sbt check
17+ run : sbt versionCheck check
1818 - name : Release
1919 env :
2020 PGP_SECRET : ${{ secrets.PGP_SECRET }}
Original file line number Diff line number Diff line change 1+ -J-Xmx4g
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ lazy val root = project
4343 sentryPureConfig,
4444 sslConfig
4545 )
46+ .disablePlugins(SbtVersionPolicyPlugin )
4647 .settings(BuildSettings .common)
4748 .settings(
4849 name := " scala-server-toolkit" ,
@@ -132,6 +133,7 @@ lazy val doobieHikariPureConfig = project
132133
133134lazy val example = project
134135 .in(file(" example" ))
136+ .disablePlugins(SbtVersionPolicyPlugin )
135137 .dependsOn(
136138 bundleZioHttp4sBlaze,
137139 cassandraDatastaxDriver,
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import sbt.Keys._
66import sbt .nio .Keys ._
77import sbt .{Def , _ }
88import sbtunidoc .ScalaUnidocPlugin .autoImport ._
9+ import sbtversionpolicy .SbtVersionPolicyPlugin .autoImport ._
910import scalafix .sbt .ScalafixPlugin .autoImport ._
1011
1112object BuildSettings {
@@ -15,6 +16,7 @@ object BuildSettings {
1516 Global / cancelable := true ,
1617 Global / excludeLintKeys += fork,
1718 ThisBuild / versionScheme := Some (" early-semver" ),
19+ ThisBuild / versionPolicyIntention := Compatibility .BinaryCompatible ,
1820 turbo := true ,
1921 organization := " com.avast" ,
2022 organizationName := " Avast" ,
Original file line number Diff line number Diff line change @@ -5,4 +5,4 @@ addSbtPlugin("com.geirsson" % "sbt-ci-release" % "1.5.5")
55addSbtPlugin(" com.47deg" % " sbt-microsites" % " 1.3.2" )
66addSbtPlugin(" com.eed3si9n" % " sbt-unidoc" % " 0.4.3" )
77addSbtPlugin(" com.thoughtworks.sbt-api-mappings" % " sbt-api-mappings" % " 3.0.0" )
8- addSbtPlugin(" io.chrisdavenport " % " sbt-mima- version-check " % " 0.1.2 " )
8+ addSbtPlugin(" ch.epfl.scala " % " sbt-version-policy " % " 1.0.0-RC5 " )
You can’t perform that action at this time.
0 commit comments