diff --git a/.github/workflows/scala-steward.yml b/.github/workflows/scala-steward.yml new file mode 100644 index 0000000000..8731146d09 --- /dev/null +++ b/.github/workflows/scala-steward.yml @@ -0,0 +1,20 @@ +# This workflow will launch at 00:00 every Sunday +on: + schedule: + - cron: '0 0 * * 0' + workflow_dispatch: + +name: Launch Scala Steward + +env: + GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} + +jobs: + scala-steward: + runs-on: ubuntu-latest + name: Launch Scala Steward + steps: + - name: Launch Scala Steward + uses: scala-steward-org/scala-steward-action@v2 + with: + github-token: ${{ secrets.REPO_GITHUB_TOKEN }} diff --git a/build.sbt b/build.sbt index 3d98e58573..21ab417624 100644 --- a/build.sbt +++ b/build.sbt @@ -6,7 +6,8 @@ import sbtcrossproject.CrossPlugin.autoImport.{crossProject, CrossType} // For our GitHub packages resolvers += Resolver.githubPackages("orbeon") -ThisBuild / githubOwner := "orbeon" +githubOwner := "orbeon" +githubTokenSource := TokenSource.Environment("REPO_GITHUB_TOKEN") || TokenSource.Environment("GITHUB_TOKEN") ThisBuild / evictionErrorLevel := Level.Info @@ -47,7 +48,7 @@ val EnumeratumVersion = "1.6.1" val EnumeratumCirceVersion = "1.6.1" val ShapelessVersion = "2.3.4" val ScalaXmlVersion = "2.0.0" // see https://github.com/orbeon/orbeon-forms/issues/4927 -val ScalaAsyncVersion = "0.10.0" // "1.0.0" with `-Xasync` causes issues +val ScalaAsyncVersion = "1.0.1" // "1.0.0" with `-Xasync` causes issues //val ScalaAsyncVersion = "1.0.1" val Parboiled2Version = "2.2.1" val AutowireVersion = "0.3.2" diff --git a/project/plugins.sbt b/project/plugins.sbt index b5d5548708..3afc0642dc 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -7,7 +7,7 @@ addSbtPlugin ("com.eed3si9n" % "sbt-buildinfo" % "0.9.0") addSbtPlugin ("com.typesafe.sbt" % "sbt-less" % "1.1.2") addSbtPlugin ("com.typesafe.sbt" % "sbt-uglify" % "2.0.0") //addSbtPlugin ("net.virtual-void" % "sbt-dependency-graph" % "0.9.2") -addSbtPlugin ("com.codecommit" % "sbt-github-packages" % "0.5.2") +addSbtPlugin ("com.codecommit" % "sbt-github-packages" % "0.5.3") addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.1" cross CrossVersion.full) addSbtPlugin ("io.github.cquiroz" % "sbt-tzdb" % "0.3.2") //addSbtPlugin ("io.github.cquiroz" % "sbt-locales" % "2.0.1")