From 20b2f2b1f26f568023018624b6af3fd241d9d689 Mon Sep 17 00:00:00 2001 From: Tammo Steffens Date: Thu, 25 Jan 2024 19:51:33 +0100 Subject: [PATCH] Fix formatting --- .github/workflows/scala.yml | 2 ++ project/plugins.sbt | 1 + 2 files changed, 3 insertions(+) create mode 100644 project/plugins.sbt 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