Skip to content

Commit 10daf80

Browse files
committed
Enforce Scala LTS
1 parent dc31877 commit 10daf80

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

Toolkit.js.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//> using scala 2.13, 3
1+
//> using scala 2.13, 3.3
22
//> using publish.name toolkit
33
//> using dep com.softwaremill.sttp.client4::core::4.0.0-M12
44
//> using dep com.softwaremill.sttp.client4::upickle::4.0.0-M12

Toolkit.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//> using scala 2.13, 3
1+
//> using scala 2.13, 3.3
22
//> using publish.name toolkit
33
//> using dep com.softwaremill.sttp.client4::core::4.0.0-M12
44
//> using dep com.softwaremill.sttp.client4::upickle::4.0.0-M12

ToolkitTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
//> using scala 2.13, 3
1+
//> using scala 2.13, 3.3
22
//> using publish.name toolkit-test
33
//> using dep org.scalameta::munit::1.0.0-M11

changelog/ChangelogChecker.test.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ class ChangelogCheckerTest extends munit.FunSuite:
166166
private def generateConfigFile(moduleName: String, version: String, deps: List[String]): os.Path =
167167
// scala-cli config file write
168168
os.temp(
169-
s"""|//> using scala 2.13, 3
169+
s"""|//> using scala 2.13, 3.3
170170
|//> using publish.name $moduleName
171171
|${deps.map(d => s"//> using dep $d").mkString("\n")}
172172
|//> using publish.version $version

tests/CrossPlatform.test.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class CrossPlatformTests extends munit.FunSuite:
3737
val expectedOutput = getExpectedOutput(testFile)
3838
println(s"Running $testName")
3939

40-
val testProcess = os.proc("scala-cli", "run", "--toolkit", toolkitVersion, extraOpts, testFile).call(check = false)
40+
val testProcess = os.proc("scala-cli", "run", "--scala", "3.3", "--toolkit", toolkitVersion, extraOpts, testFile).call(check = false)
4141
val output = testProcess.out.lines().map(_.trim)
4242

4343
if testProcess.exitCode != 0 then

0 commit comments

Comments
 (0)