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 @@ -1928,6 +1928,16 @@ object Build {
19281928 }
19291929 }).transform(node).head
19301930 },
1931+ // Add configuration for MiMa
1932+ mimaCheckDirection := (compatMode match {
1933+ case CompatMode .BinaryCompatible => " backward"
1934+ case CompatMode .SourceAndBinaryCompatible => " both"
1935+ }),
1936+ mimaExcludeAnnotations += " scala.annotation.experimental" ,
1937+ mimaPreviousArtifacts += (" org.scala-js" % " fat-stdlib_sjs1" % " 3.7.3" ),
1938+ mimaForwardIssueFilters := MiMaFilters .Scala3Library .ForwardsBreakingChanges ,
1939+ mimaBackwardIssueFilters := MiMaFilters .Scala3Library .BackwardsBreakingChanges ,
1940+ customMimaReportBinaryIssues(" MiMaFilters.Scala3Library" ),
19311941 // Should we also patch .sjsir files
19321942 keepSJSIR := true ,
19331943 )
You can’t perform that action at this time.
0 commit comments