diff --git a/.github/workflows/scala.yml b/.github/workflows/scala.yml index 05db752..6eeafbb 100644 --- a/.github/workflows/scala.yml +++ b/.github/workflows/scala.yml @@ -29,3 +29,5 @@ jobs: cache: 'sbt' - name: Run tests run: sbt test + - name: Check Formatting + run: sbt scalafmtCheckAll diff --git a/project/plugins.sbt b/project/plugins.sbt new file mode 100644 index 0000000..6b6db48 --- /dev/null +++ b/project/plugins.sbt @@ -0,0 +1 @@ +addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2") \ No newline at end of file