Skip to content

Commit 3d146f7

Browse files
authored
Merge pull request #259 from SethTisue/fix-scaladoc-generation
test Scaladoc generation in CI
2 parents 03f6cf2 + 064374c commit 3d146f7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ jobs:
2222
java-version: ${{matrix.java}}
2323
cache: sbt
2424
- name: Test
25-
run: sbt ++${{matrix.scala}} test package
25+
run: sbt ++${{matrix.scala}} test doc package

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ lazy val collectionContrib = crossProject(JVMPlatform, JSPlatform, NativePlatfor
4141
},
4242
Compile / doc / scalacOptions ++= {
4343
CrossVersion.partialVersion(scalaVersion.value) match {
44-
case Some((2, _)) => Seq("-implicits", "-groups", "-nowarn")
44+
case Some((2, _)) => Seq("-implicits", "-groups", "-nowarn", "-Xsource:3-cross")
4545
case _ => Seq.empty
4646
}
4747
},

0 commit comments

Comments
 (0)