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 @@ -1928,6 +1928,16 @@ object Build {
1928
1928
}
1929
1929
}).transform(node).head
1930
1930
},
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" ),
1931
1941
// Should we also patch .sjsir files
1932
1942
keepSJSIR := true ,
1933
1943
)
You can’t perform that action at this time.
0 commit comments