Skip to content

Commit 8b488a0

Browse files
committed
project: update scala and scala js
1 parent d20ec33 commit 8b488a0

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
strategy:
2424
matrix:
2525
os: [ubuntu-latest]
26-
scala: [3.2.2]
26+
scala: [3.3.0]
2727
java: [temurin@18]
2828
runs-on: ${{ matrix.os }}
2929
steps:
@@ -56,7 +56,7 @@ jobs:
5656
strategy:
5757
matrix:
5858
os: [ubuntu-latest]
59-
scala: [3.2.2]
59+
scala: [3.3.0]
6060
java: [temurin@18]
6161
runs-on: ${{ matrix.os }}
6262
steps:

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ lazy val specs2 = project
3838

3939
/** COMMON SETTINGS */
4040

41-
val Scala3 = "3.2.2"
41+
val Scala3 = "3.3.0"
4242

4343
lazy val specs2Settings = Seq(
4444
organization := "org.specs2",

core/jvm/src/test/scala/org/specs2/io/LocationSpec.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ class LocationSpec extends org.specs2.mutable.Spec with TypedEqual:
6060
}
6161
}
6262

63-
def lineNumber(on322: Int, onLater: Int): Int =
63+
def lineNumber(on330: Int, onLater: Int): Int =
6464
val scalaVersion = org.specs2.BuildInfo.scalaVersion
65-
if scalaVersion == "3.2.2" then on322 else onLater
65+
if scalaVersion == "3.3.0" then on330 else onLater
6666

6767
def textAt(index: Int)(using spec: WithFragments) = fragmentLine(isText, index)
6868
def exampleAt(index: Int)(using spec: WithFragments) = fragmentLine(isExample, index)

project/plugins.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
val scalaJSVersion = Option(System.getenv("SCALAJS_VERSION")).getOrElse("1.13.0")
1+
val scalaJSVersion = Option(System.getenv("SCALAJS_VERSION")).getOrElse("1.13.1")
22

33
// dev
44
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.6")

0 commit comments

Comments
 (0)