Skip to content

Commit

Permalink
Update scala-library to 2.13.12
Browse files Browse the repository at this point in the history
  • Loading branch information
scala-steward committed Sep 13, 2023
1 parent e31f3cc commit 19373fb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
scala: [2.12.17, 2.13.10, 3.2.2]
scala: [2.12.17, 2.13.12, 3.2.2]
java: [temurin@8, temurin@17]
runs-on: ${{ matrix.os }}
steps:
Expand Down
13 changes: 6 additions & 7 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

val isDotty = Def.setting(CrossVersion.partialVersion(scalaVersion.value).exists(_._1 != 2))

// Dependencies
Expand All @@ -20,17 +19,17 @@ libraryDependencies ++= (if (isDotty.value) Nil
// Multiple Scala versions support

val scala_2_12 = "2.12.17"
val scala_2_13 = "2.13.10"
val scala_2_13 = "2.13.12"
val dotty = "3.2.2"
val mainScalaVersion = scala_2_13
val supportedScalaVersions = Seq(scala_2_12, scala_2_13, dotty)

ThisBuild / crossScalaVersions := supportedScalaVersions
ThisBuild / scalaVersion := mainScalaVersion
ThisBuild / scalaVersion := mainScalaVersion

lazy val baseSettings = Seq(
// Scala settings
homepage := Some(url("https://github.com/theiterators/sealed-monad")),
homepage := Some(url("https://github.com/theiterators/sealed-monad")),
scalacOptions := Seq("-deprecation", "-unchecked", "-feature", "-encoding", "utf8") ++
(if (isDotty.value)
Seq("-language:implicitConversions", "-Ykind-projector", "-Xignore-scala2-macros")
Expand Down Expand Up @@ -62,13 +61,13 @@ lazy val baseSettings = Seq(
connection = "scm:git:https://github.com/theiterators/sealed-monad.git"
)
),
crossScalaVersions := supportedScalaVersions
crossScalaVersions := supportedScalaVersions
)

lazy val noPublishSettings =
Seq(
publishArtifact := false,
skip / publish := true
publishArtifact := false,
skip / publish := true
)

lazy val examples = project
Expand Down

0 comments on commit 19373fb

Please sign in to comment.