Skip to content

Commit

Permalink
Fix format check
Browse files Browse the repository at this point in the history
  • Loading branch information
armanbilge committed Jan 21, 2022
1 parent 5615ae4 commit d0ec3f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
run: sbt '++${{ matrix.scala }}' 'project /' githubWorkflowCheck

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

- name: Test
run: sbt '++${{ matrix.scala }}' test
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ ThisBuild / githubWorkflowJavaVersions := Seq(JDK8, JDK17)
ThisBuild / githubWorkflowBuild ~= { steps =>
val formatStep = WorkflowStep
.Sbt(
List("scalafmtCheckAll", "scalafmtSbtCheck"),
List("scalafmtCheckAll", "project /", "scalafmtSbtCheck"),
name = Some("Check formatting")
)
formatStep +: steps
Expand Down

0 comments on commit d0ec3f9

Please sign in to comment.