This is an automated email from the ASF dual-hosted git repository.
fanningpj pushed a commit to branch main
in repository
https://gitbox.apache.org/repos/asf/incubator-pekko-persistence-jdbc.git
The following commit(s) were added to refs/heads/main by this push:
new 97d7609 re-enable mima (#91)
97d7609 is described below
commit 97d7609c50bb27ced4a820158f47651a6fca923f
Author: PJ Fanning <[email protected]>
AuthorDate: Mon Nov 13 11:10:24 2023 +0100
re-enable mima (#91)
* re-enable mima
* hardcode mima compare version due to CI issues
---
.github/workflows/format.yml | 2 +-
.scalafmt.conf | 2 +-
build.sbt | 6 ++++--
project/build.properties | 2 +-
project/plugins.sbt | 2 +-
5 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml
index 156f7ac..7b7298d 100644
--- a/.github/workflows/format.yml
+++ b/.github/workflows/format.yml
@@ -22,5 +22,5 @@ jobs:
- name: Check project is formatted
uses: jrouly/scalafmt-native-action@v2
with:
- version: '3.7.1'
+ version: '3.7.11'
arguments: '--list --mode diff-ref=origin/main'
diff --git a/.scalafmt.conf b/.scalafmt.conf
index 08c27a2..e992811 100644
--- a/.scalafmt.conf
+++ b/.scalafmt.conf
@@ -1,4 +1,4 @@
-version = 3.7.1
+version = 3.7.11
runner.dialect = scala213
project.git = true
style = defaultWithAlign
diff --git a/build.sbt b/build.sbt
index 1ecff7a..45295d7 100644
--- a/build.sbt
+++ b/build.sbt
@@ -17,6 +17,8 @@ ThisBuild / versionScheme := Some(VersionScheme.SemVerSpec)
sourceDistName := "apache-pekko-persistence-jdbc"
sourceDistIncubating := true
+val mimaCompareVersion = "1.0.0"
+
commands := commands.value.filterNot { command =>
command.nameOption.exists { name =>
name.contains("sonatypeRelease") || name.contains("sonatypeBundleRelease")
@@ -44,8 +46,8 @@ lazy val core = project
name := "pekko-persistence-jdbc",
libraryDependencies ++= Dependencies.Libraries,
mimaReportSignatureProblems := true,
- // temporarily disable mima checks
- mimaPreviousArtifacts := Set.empty)
+ mimaPreviousArtifacts := Set(
+ organization.value %% name.value % mimaCompareVersion))
lazy val migrator = project
.in(file("migrator"))
diff --git a/project/build.properties b/project/build.properties
index 36bebfb..946611e 100644
--- a/project/build.properties
+++ b/project/build.properties
@@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
-sbt.version=1.9.5
+sbt.version=1.9.7
diff --git a/project/plugins.sbt b/project/plugins.sbt
index 7ab1bf4..d9c8aed 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -17,7 +17,7 @@ addSbtPlugin("com.lightbend.sbt" % "sbt-java-formatter" %
"0.7.0")
addSbtPlugin("com.dwijnand" % "sbt-dynver" % "4.1.1")
addSbtPlugin("net.bzzt" % "sbt-reproducible-builds" % "0.31")
addSbtPlugin("org.mdedetrich" % "sbt-apache-sonatype" % "0.1.10")
-addSbtPlugin("com.github.pjfanning" % "sbt-source-dist" % "0.1.10")
+addSbtPlugin("com.github.pjfanning" % "sbt-source-dist" % "0.1.11")
// docs
addSbtPlugin("com.typesafe.sbt" % "sbt-site" % "1.4.1")
addSbtPlugin("com.github.sbt" % "sbt-unidoc" % "0.5.0")
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]