-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Update Scala version - Update sbt and sbt plugins - Remove deprecated sbt syntax usages - Update Scalafix and improve its configuration - Install Scala Steward to help us maintain this project - Fix Scalafix issues in code
- Loading branch information
Showing
6 changed files
with
109 additions
and
65 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,16 @@ | ||
name: Scala Steward | ||
|
||
# This workflow will launch everyday at 00:00 | ||
on: | ||
schedule: | ||
- cron: '0 0 * * *' | ||
workflow_dispatch: {} | ||
|
||
jobs: | ||
scala-steward: | ||
timeout-minutes: 30 | ||
runs-on: ubuntu-latest | ||
name: Scala Steward | ||
steps: | ||
- name: Scala Steward | ||
uses: scala-steward-org/[email protected] |
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
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 +1 @@ | ||
sbt.version=1.4.4 | ||
sbt.version=1.9.2 |
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,13 +1,13 @@ | ||
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.11") | ||
addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.10.0") | ||
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.3.4") | ||
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.27") | ||
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.12") | ||
addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.11.0") | ||
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.0") | ||
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.11.0") | ||
|
||
libraryDependencies += "org.scala-sbt" %% "scripted-plugin" % sbtVersion.value | ||
|
||
unmanagedSourceDirectories.in(Compile) += | ||
baseDirectory.in(ThisBuild).value.getParentFile / "plugin" / "src" / "main" / | ||
Compile / unmanagedSourceDirectories += | ||
(ThisBuild / baseDirectory).value.getParentFile / "plugin" / "src" / "main" / | ||
"scala" | ||
unmanagedResourceDirectories.in(Compile) += | ||
baseDirectory.in(ThisBuild).value.getParentFile / "plugin" / "src" / "main" / | ||
Compile / unmanagedResourceDirectories += | ||
(ThisBuild / baseDirectory).value.getParentFile / "plugin" / "src" / "main" / | ||
"resources" |