Skip to content

Commit 6c869ba

Browse files
committed
Do not run scalafmt on ci
1 parent 503cb70 commit 6c869ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ val scala2Ver = "2.13.14"
1313
lazy val commonSettings = Seq(
1414

1515
scalaVersion := scala3Ver,
16-
scalafmtOnCompile := true,
16+
scalafmtOnCompile := !sys.env.contains("CI"),
1717

1818
scalacOptions ++= (CrossVersion.partialVersion(scalaVersion.value) match {
1919
case Some((2, 13)) => Seq("-Ytasty-reader")

0 commit comments

Comments
 (0)