Skip to content

Commit

Permalink
re-enable mima
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning committed Nov 10, 2023
1 parent fb407fe commit f69c560
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = 3.7.1
version = 3.7.11
runner.dialect = scala213
project.git = true
style = defaultWithAlign
Expand Down
12 changes: 10 additions & 2 deletions project/Common.scala
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,16 @@ object Common extends AutoPlugin {
// -q Suppress stdout for successful tests.
Test / testOptions += Tests.Argument(TestFrameworks.JUnit, "-a", "-v", "-q"),
Test / logBuffered := false,
// temporarily disable mima checks
mimaPreviousArtifacts := Set.empty)
mimaPreviousArtifacts := {
moduleName.value match {
case name if name.endsWith("-tests") => Set.empty
case _ =>
Set(
organization.value %% moduleName.value % previousStableVersion.value
.getOrElse(throw new Error("Unable to determine previous version")))

}
})

override lazy val buildSettings = Seq(
dynverSonatypeSnapshots := true)
Expand Down

0 comments on commit f69c560

Please sign in to comment.