Skip to content

Commit

Permalink
build(iris): add scala formatter plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Baliasnikov committed Nov 9, 2022
1 parent ceb56e3 commit c3274b3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/iris-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ on:
- "iris/client/**"

env:
GITHUB_TOKEN: ${{ secrets.ATALA_GITHUB_TOKEN }}
ATALA_GITHUB_TOKEN: ${{ secrets.ATALA_GITHUB_TOKEN }}

defaults:
run:
Expand Down
4 changes: 4 additions & 0 deletions iris/client/scala-client/.scalafmt.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
version = 3.5.8
runner.dialect = scala3

maxColumn = 120
2 changes: 1 addition & 1 deletion iris/client/scala-client/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ inThisBuild(
versionScheme := Some("semver-spec"),
githubOwner := "input-output-hk",
githubRepository := "atala-prism-building-blocks",
githubTokenSource := TokenSource.Environment("GITHUB_TOKEN")
githubTokenSource := TokenSource.Environment("ATALA_GITHUB_TOKEN")
)
)

Expand Down
1 change: 1 addition & 0 deletions iris/client/scala-client/project/scalapb.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.6")
addSbtPlugin("com.thesamet" % "sbt-protoc" % "1.0.6")
addSbtPlugin("com.github.sbt" % "sbt-release" % "1.1.0")
addSbtPlugin("com.codecommit" % "sbt-github-packages" % "0.5.3")
Expand Down

0 comments on commit c3274b3

Please sign in to comment.