forked from ceedubs/ficus
-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
55 changed files
with
594 additions
and
467 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Scalafmt | ||
|
||
on: | ||
pull_request: | ||
branches: ['**'] | ||
|
||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
jobs: | ||
build: | ||
name: Code is formatted | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Checkout current branch (full) | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Check project is formatted | ||
uses: jrouly/scalafmt-native-action@v1 | ||
with: | ||
version: '2.7.5' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
version = 2.7.5 | ||
preset = default | ||
align.preset = most | ||
maxColumn = 120 | ||
project.git = true | ||
align.tokens.add = [ | ||
{code = ":=", owner = "Term.ApplyInfix"} | ||
] | ||
rewrite.rules = [RedundantBraces, RedundantParens] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,10 @@ | ||
resolvers += "Typesafe Repository" at "https://repo.typesafe.com/typesafe/releases/" | ||
|
||
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.8.2") | ||
|
||
addSbtPlugin("org.scoverage" % "sbt-coveralls" % "1.3.1") | ||
|
||
addSbtPlugin("com.github.sbt" % "sbt-release" % "1.1.0") | ||
|
||
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.9.2") | ||
|
||
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.7") | ||
|
||
addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.1.2") | ||
|
||
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.8.2") | ||
addSbtPlugin("org.scoverage" % "sbt-coveralls" % "1.3.1") | ||
addSbtPlugin("com.github.sbt" % "sbt-release" % "1.1.0") | ||
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.9.2") | ||
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.7") | ||
addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.1.2") | ||
addSbtPlugin("com.codecommit" % "sbt-github-actions" % "0.12.0") | ||
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.3") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.