Skip to content

Commit

Permalink
project: upgrade to scala 3.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
etorreborre committed Nov 4, 2023
1 parent 9ab4dcc commit 4f13332
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
scala: [3.1.2]
scala: [3.3.1]
java: [temurin@11]
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
scala: [3.1.2]
scala: [3.3.1]
java: [temurin@11]
runs-on: ${{ matrix.os }}
steps:
Expand Down
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ lazy val specs2Settings = Seq(
organization := "org.specs2",
GlobalScope / scalazVersion := "7.2.34",
specs2ShellPrompt,
ThisBuild / scalaVersion := "3.3.0",
ThisBuild / crossScalaVersions := Seq("3.3.0"))
ThisBuild / scalaVersion := "3.3.1",
ThisBuild / crossScalaVersions := Seq("3.3.1"))

lazy val tagName = Def.setting {
s"specs2-${version.value}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ package text
* usage: h4> "This is a h4 title"
*/
trait MarkdownHeaders {
lazy val (h1, h2, h3, h4, h5, h6) = (MarkdownHeader(1), MarkdownHeader(2), MarkdownHeader(3), MarkdownHeader(4), MarkdownHeader(5), MarkdownHeader(6))
val (h1, h2, h3, h4, h5, h6) = (MarkdownHeader(1), MarkdownHeader(2), MarkdownHeader(3), MarkdownHeader(4), MarkdownHeader(5), MarkdownHeader(6))

case class MarkdownHeader(level: Int) {
def >(s: String) = ("#" * level) + " " + s
}
}
object MarkdownHeaders extends MarkdownHeaders
object MarkdownHeaders extends MarkdownHeaders
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
val scalaJSVersion =
Option(System.getenv("SCALAJS_VERSION")).getOrElse("1.13.0")
val scalaNativeVersion =
Option(System.getenv("SCALANATIVE_VERSION")).getOrElse("0.4.12")
Option(System.getenv("SCALANATIVE_VERSION")).getOrElse("0.4.16")

addSbtPlugin("org.scala-js" % "sbt-scalajs" % scalaJSVersion)
addSbtPlugin("org.scala-native" % "sbt-scala-native" % scalaNativeVersion)
Expand Down

0 comments on commit 4f13332

Please sign in to comment.