Skip to content

Commit e390a5e

Browse files
committed
bring back sbt-typelevel
1 parent 211e749 commit e390a5e

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ jobs:
6666
- name: Check that workflows are up to date
6767
run: ./sbt githubWorkflowCheck
6868

69+
- name: Check formatting
70+
if: matrix.java == 'corretto@11' && matrix.os == 'ubuntu-latest'
71+
run: ./sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' scalafmtCheckAll 'project /' scalafmtSbtCheck
72+
6973
- name: scalaJSLink
7074
if: matrix.project == 'rootJS'
7175
run: ./sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' Test/scalaJSLinkerResult

build.sbt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ lazy val tzdb = crossProject(JVMPlatform, JSPlatform, NativePlatform)
178178
name := "scala-java-time-tzdb",
179179
includeTTBP := true,
180180
dbVersion := TzdbPlugin.Version(tzdbVersion),
181+
tlFatalWarnings := false
181182
)
182183
.jsSettings(
183184
Compile / sourceGenerators += Def.task {
@@ -250,6 +251,7 @@ lazy val demo = crossProject(JSPlatform, JVMPlatform, NativePlatform)
250251
Keys.`package` := file(""),
251252
zonesFilter := zonesFilterFn,
252253
dbVersion := TzdbPlugin.Version(tzdbVersion),
254+
tlFatalWarnings := false,
253255
// delegate test to run, so that it is invoked during test step in ci
254256
Test / test := (Compile / run).toTask("").value
255257
)

project/plugins.sbt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
1-
addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.3.2")
2-
31
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.16.0")
42

53
addSbtPlugin("io.github.cquiroz" % "sbt-tzdb" % "4.2.0")
64

7-
addSbtPlugin("org.typelevel" % "sbt-typelevel-ci-release" % "0.7.1")
8-
9-
addSbtPlugin("org.portable-scala" % "sbt-scala-native-crossproject" % "1.3.2")
5+
addSbtPlugin("org.typelevel" % "sbt-typelevel" % "0.7.1")
106

117
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.17")

0 commit comments

Comments
 (0)