Skip to content

Commit 001579f

Browse files
authored
Merge pull request #184 from SethTisue/ci-tweak
2 parents 0cd1694 + 17ff3fe commit 001579f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
java: [8, 11, 17]
13-
scala: [2.13.8, 3.1.3]
13+
scala: [2.13.x, 3.x]
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v2
1717
with:
1818
fetch-depth: 0
19-
- uses: coursier/cache-action@v6
20-
- uses: actions/setup-java@v2
19+
- uses: actions/setup-java@v3
2120
with:
2221
distribution: temurin
2322
java-version: ${{matrix.java}}
23+
cache: sbt
2424
- name: Test
2525
run: sbt ++${{matrix.scala}} test package

build.sbt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ lazy val collectionContrib = crossProject(JVMPlatform, JSPlatform)
2121
Compile / compile / scalacOptions ++= {
2222
CrossVersion.partialVersion(scalaVersion.value) match {
2323
case Some((2, _)) => Seq("-opt-warnings", "-Werror", "-Wconf:origin=scala.collection.IterableOps.toIterable:s")
24-
case Some((3, _)) => Seq("-Xfatal-warnings", "-scala-output-version:3.0", "-Wconf:cat=deprecation:s")
24+
case _ => Seq("-Xfatal-warnings", "-scala-output-version:3.0", "-Wconf:cat=deprecation:s")
2525
}
2626
},
2727
Compile / doc / scalacOptions ++= {
2828
CrossVersion.partialVersion(scalaVersion.value) match {
2929
case Some((2, _)) => Seq("-implicits", "-groups", "-nowarn")
30-
case Some((3, _)) => Seq.empty
30+
case _ => Seq.empty
3131
}
3232
},
3333
testOptions += Tests.Argument(TestFrameworks.JUnit, "-q", "-v", "-s", "-a"),

0 commit comments

Comments
 (0)