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:
392
392
- name : Report MiMa issues in `tasty-core-bootstrapped`
393
393
run : ./project/scripts/sbt tasty-core-bootstrapped-new/mimaReportBinaryIssues
394
394
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
+
395
413
# ################################################################################################
396
414
# ########################################## TEST JOBS ###########################################
397
415
# ################################################################################################
Original file line number Diff line number Diff line change @@ -2075,6 +2075,16 @@ object Build {
2075
2075
}
2076
2076
}).transform(node).head
2077
2077
},
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" ),
2078
2088
// Should we also patch .sjsir files
2079
2089
keepSJSIR := true ,
2080
2090
)
You can’t perform that action at this time.
0 commit comments