Skip to content

Commit

Permalink
Enforce Scala LTS
Browse files Browse the repository at this point in the history
  • Loading branch information
adpi2 committed May 14, 2024
1 parent dc31877 commit 10daf80
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Toolkit.js.scala
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//> using scala 2.13, 3
//> using scala 2.13, 3.3
//> using publish.name toolkit
//> using dep com.softwaremill.sttp.client4::core::4.0.0-M12
//> using dep com.softwaremill.sttp.client4::upickle::4.0.0-M12
Expand Down
2 changes: 1 addition & 1 deletion Toolkit.scala
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//> using scala 2.13, 3
//> using scala 2.13, 3.3
//> using publish.name toolkit
//> using dep com.softwaremill.sttp.client4::core::4.0.0-M12
//> using dep com.softwaremill.sttp.client4::upickle::4.0.0-M12
Expand Down
2 changes: 1 addition & 1 deletion ToolkitTest.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
//> using scala 2.13, 3
//> using scala 2.13, 3.3
//> using publish.name toolkit-test
//> using dep org.scalameta::munit::1.0.0-M11
2 changes: 1 addition & 1 deletion changelog/ChangelogChecker.test.scala
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ class ChangelogCheckerTest extends munit.FunSuite:
private def generateConfigFile(moduleName: String, version: String, deps: List[String]): os.Path =
// scala-cli config file write
os.temp(
s"""|//> using scala 2.13, 3
s"""|//> using scala 2.13, 3.3
|//> using publish.name $moduleName
|${deps.map(d => s"//> using dep $d").mkString("\n")}
|//> using publish.version $version
Expand Down
2 changes: 1 addition & 1 deletion tests/CrossPlatform.test.scala
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class CrossPlatformTests extends munit.FunSuite:
val expectedOutput = getExpectedOutput(testFile)
println(s"Running $testName")

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

if testProcess.exitCode != 0 then
Expand Down

0 comments on commit 10daf80

Please sign in to comment.