Skip to content

Commit

Permalink
Common: disable formatting on compile (close #358)
Browse files Browse the repository at this point in the history
  • Loading branch information
chuwy committed Oct 6, 2020
1 parent e7527ff commit 3bfbff5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ jobs:
run: sbt coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
- name: Check Scala formatting
if: ${{ always() }}
run: sbt scalafmtCheck
- name: Check assets can be published
if: ${{ always() }}
run: sbt publishLocal
Expand Down
2 changes: 1 addition & 1 deletion project/BuildSettings.scala
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ object BuildSettings {

lazy val formatting = Seq(
scalafmtConfig := file(".scalafmt.conf"),
scalafmtOnCompile := true
scalafmtOnCompile := false
)

lazy val scoverageSettings = Seq(
Expand Down

0 comments on commit 3bfbff5

Please sign in to comment.