Skip to content

Commit

Permalink
Use the latest announced Scala 3 Next RC for scala wrapper tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Gedochao committed Dec 2, 2024
1 parent 99ef3a9 commit e338513
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -1037,6 +1037,7 @@ trait CliIntegration extends SbtModule with ScalaCliPublishModule with HasTests
| def scala3LtsPrefix = "${Scala.scala3LtsPrefix}"
| def scala3Lts = "${Scala.scala3Lts}"
| def scala3NextRc = "${Scala.scala3NextRc}"
| def scala3NextRcAnnounced = "${Scala.scala3NextRcAnnounced}"
| def scala3Next = "${Scala.scala3Next}"
| def scala3NextAnnounced = "${Scala.scala3NextAnnounced}"
| def defaultScala = "${Scala.defaultUser}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,7 @@ class SipScalaTests extends ScalaCliSuite
TestInputs.empty.fromRoot { root =>
val localCache = root / "local-cache"
val localBin = root / "local-bin"
val scalaVersion = Constants.scala3NextAnnounced
val scalaVersion = Constants.scala3NextRcAnnounced
withScalaRunnerWrapper(
root = root,
localCache = localCache,
Expand Down
5 changes: 3 additions & 2 deletions project/deps.sc
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ object Scala {
def scala3Lts = s"$scala3LtsPrefix.4" // the LTS version currently used in the build
def scala3NextPrefix = "3.5"
def scala3Next = s"$scala3NextPrefix.2" // the newest/next version of Scala
def scala3NextAnnounced = scala3Next // the newest/next version of Scala that's been announced
def scala3NextRc = "3.6.2-RC3" // the latest RC version of Scala Next
def scala3NextAnnounced = scala3Next // the newest/next version of Scala that's been announced
def scala3NextRc = "3.6.2-RC3" // the latest RC version of Scala Next
def scala3NextRcAnnounced = scala3NextRc // the latest RC version of Scala Next

// The Scala version used to build the CLI itself.
def defaultInternal = sys.props.get("scala.version.internal").getOrElse(scala3Lts)
Expand Down

0 comments on commit e338513

Please sign in to comment.