File tree 2 files changed +7
-3
lines changed
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 38
38
scala : 2.12.15
39
39
mode : testScalafmt
40
40
platform : jvm
41
+ - java : 8
42
+ scala : 2.12.15
43
+ mode : headerCheck
44
+ platform : jvm
41
45
- java : 11
42
46
scala : 2.12.15
43
47
mode : normal
63
67
java-version : ${{matrix.java}}
64
68
- name : ci
65
69
run : sbt ci
66
- - name : headerCheck
67
- run : sbt headerCheck
Original file line number Diff line number Diff line change @@ -298,6 +298,7 @@ val isScalaNative = sys.env.get("CI_PLATFORM") == Some("native")
298
298
val isScalafix = sys.env.get(" CI_MODE" ) == Some (" testScalafix" )
299
299
val isScalafmt = sys.env.get(" CI_MODE" ) == Some (" testScalafmt" )
300
300
val isBinaryCompat = sys.env.get(" CI_MODE" ) == Some (" testBinaryCompat" )
301
+ val isHeaderCheck = sys.env.get(" CI_MODE" ) == Some (" headerCheck" )
301
302
val jdkVersion = sys.env.get(" CI_JDK" ).map(_.toInt)
302
303
303
304
// required by sbt-scala-module
@@ -316,6 +317,8 @@ inThisBuild {
316
317
val toRun : Seq [String ] =
317
318
if (isScalafmt) {
318
319
Seq (" scalafmtTest" )
320
+ else if (isHeaderCheck) {
321
+ Seq (" headerCheck" )
319
322
} else {
320
323
List (
321
324
" CI_SCALA_VERSION" ,
@@ -373,7 +376,6 @@ inThisBuild {
373
376
List (s " $projectPrefix/clean " ),
374
377
List (s " $testProjectPrefix/test " ),
375
378
List (s " $projectPrefix/publishLocal " ),
376
- List (" headerCheck" ),
377
379
publishTask
378
380
).flatten
379
381
}
You can’t perform that action at this time.
0 commit comments