Skip to content

Commit a48f4d7

Browse files
committed
Update scala 3.0.2 to 3.1.1
1 parent c287698 commit a48f4d7

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

Diff for: .github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
java: [8, 11, 17]
13-
scala: [2.11.12, 2.12.15, 2.13.8, 3.0.2]
13+
scala: [2.11.12, 2.12.15, 2.13.8, 3.1.1]
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v2

Diff for: build.sbt

+7-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@ ThisBuild / startYear := Some(2004)
44
// I thought we could declare these in `ThisBuild` scope but no :-/
55
val commonSettings = Seq(
66
versionScheme := Some("early-semver"),
7-
versionPolicyIntention := Compatibility.BinaryAndSourceCompatible,
7+
versionPolicyIntention := {
8+
if (scalaVersion.value.startsWith("3"))
9+
Compatibility.None
10+
else
11+
Compatibility.BinaryAndSourceCompatible
12+
}
813
)
914

1015
lazy val root = project.in(file("."))
@@ -22,7 +27,7 @@ lazy val parserCombinators = crossProject(JVMPlatform, JSPlatform, NativePlatfor
2227
name := "scala-parser-combinators",
2328
scalaModuleAutomaticModuleName := Some("scala.util.parsing"),
2429

25-
crossScalaVersions := Seq("2.13.8", "2.12.15", "2.11.12", "3.0.2"),
30+
crossScalaVersions := Seq("2.13.8", "2.12.15", "2.11.12", "3.1.1"),
2631
scalaVersion := crossScalaVersions.value.head,
2732

2833
libraryDependencies += "junit" % "junit" % "4.13.2" % Test,

0 commit comments

Comments
 (0)