Skip to content

Commit

Permalink
Drop down to sbt-typelevel-ci-release
Browse files Browse the repository at this point in the history
  • Loading branch information
armanbilge committed Jan 20, 2022
1 parent 9f0afbb commit e83140a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@ jobs:
- name: Check that workflows are up to date
run: sbt 'project ${{ matrix.project }}' '++${{ matrix.scala }}' 'project /' githubWorkflowCheck

- name: Check headers and formatting
run: sbt 'project ${{ matrix.project }}' '++${{ matrix.scala }}' headerCheckAll scalafmtCheckAll 'project /' scalafmtSbtCheck

- name: fastOptJS
if: matrix.project == 'rootJS'
run: sbt 'project ${{ matrix.project }}' '++${{ matrix.scala }}' Test/fastOptJS
Expand Down
6 changes: 5 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@ import com.typesafe.tools.mima.core.{ProblemFilters, ReversedMissingMethodProble

val scala3Version = "3.1.0"

ThisBuild / organization := "org.typelevel"
ThisBuild / tlBaseVersion := "3.0"
ThisBuild / scalaVersion := scala3Version
ThisBuild / crossScalaVersions := Seq(scala3Version)
ThisBuild / updateOptions := updateOptions.value.withLatestSnapshots(false)

// GHA configuration
ThisBuild / tlCiReleaseBranches := Seq("main")
ThisBuild / githubWorkflowBuildMatrixFailFast := Some(false)

val nativeSettings = Def.settings(
Expand Down Expand Up @@ -127,15 +130,16 @@ lazy val local = crossProject(JSPlatform, JVMPlatform, NativePlatform)
// Settings

lazy val commonSettings = Seq(
tlFatalWarnings := true,
scalacOptions ++= Seq(
"-Xfatal-warnings",
"-Yexplicit-nulls"
),
Compile / doc / sources := Nil,

libraryDependencies += "com.github.sbt" % "junit-interface" % "0.13.3" % "test",
)

ThisBuild / licenses := Seq("Apache 2" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt"))
ThisBuild / developers := List(
Developer("milessabin", "Miles Sabin", "[email protected]", url("http://milessabin.com/blog")),
Developer("joroKr21", "Georgi Krastev", "[email protected]", url("https://twitter.com/Joro_Kr")),
Expand Down
3 changes: 2 additions & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
addSbtPlugin("org.typelevel" % "sbt-typelevel" % "0.4.0")
addSbtPlugin("org.typelevel" % "sbt-typelevel-ci-release" % "0.4.0")
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.8.0")
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.3-RC2")
addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.1.0")
addSbtPlugin("org.portable-scala" % "sbt-scala-native-crossproject" % "1.1.0")

0 comments on commit e83140a

Please sign in to comment.