File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -392,6 +392,24 @@ jobs:
392392 - name : Report MiMa issues in `tasty-core-bootstrapped`
393393 run : ./project/scripts/sbt tasty-core-bootstrapped-new/mimaReportBinaryIssues
394394
395+ mima-scala-library-sjs :
396+ runs-on : ubuntu-latest
397+ needs : scala-library-sjs
398+ steps :
399+ - name : Git Checkout
400+ uses : actions/checkout@v5
401+
402+ - name : Set up JDK 17
403+ uses : actions/setup-java@v5
404+ with :
405+ distribution : ' temurin'
406+ java-version : 17
407+ cache : ' sbt'
408+
409+ - uses : sbt/setup-sbt@v1
410+ - name : Report MiMa issues in `scala-library-sjs`
411+ run : ./project/scripts/sbt scala-library-sjs/mimaReportBinaryIssues
412+
395413 # ################################################################################################
396414 # ########################################## TEST JOBS ###########################################
397415 # ################################################################################################
Original file line number Diff line number Diff line change @@ -2075,6 +2075,16 @@ object Build {
20752075 }
20762076 }).transform(node).head
20772077 },
2078+ // Add configuration for MiMa
2079+ mimaCheckDirection := (compatMode match {
2080+ case CompatMode .BinaryCompatible => " backward"
2081+ case CompatMode .SourceAndBinaryCompatible => " both"
2082+ }),
2083+ mimaExcludeAnnotations += " scala.annotation.experimental" ,
2084+ mimaPreviousArtifacts += (" org.scala-js" % " fat-stdlib_sjs1" % " 3.7.3" ),
2085+ mimaForwardIssueFilters := MiMaFilters .Scala3Library .ForwardsBreakingChanges ,
2086+ mimaBackwardIssueFilters := MiMaFilters .Scala3Library .BackwardsBreakingChanges ,
2087+ customMimaReportBinaryIssues(" MiMaFilters.Scala3Library" ),
20782088 // Should we also patch .sjsir files
20792089 keepSJSIR := true ,
20802090 )
You can’t perform that action at this time.
0 commit comments