diff --git a/.github/workflows/scala-steward.yml b/.github/workflows/scala-steward.yml new file mode 100644 index 00000000..ecb84ea0 --- /dev/null +++ b/.github/workflows/scala-steward.yml @@ -0,0 +1,23 @@ +on: + workflow_dispatch: + schedule: + - cron: '0 0 * * 0' + +name: Launch Scala Steward + +jobs: + scala-steward: + runs-on: ubuntu-22.04 + name: Launch Scala Steward + if: github.repository == 'apache/pekko-grpc' + steps: + - name: Launch Scala Steward + uses: scala-steward-org/scala-steward-action@v2 + env: + JAVA_OPTS: "-XX:+UseG1GC -Xms4G -Xmx4G" + with: + github-app-id: ${{ secrets.SCALA_STEWARD_APP_ID }} + github-app-installation-id: ${{ secrets.SCALA_STEWARD_INSTALLATION_ID }} + github-app-key: ${{ secrets.SCALA_STEWARD_PRIVATE_KEY }} + github-app-auth-only: true + diff --git a/.scala-steward.conf b/.scala-steward.conf index ac6dfdd5..e37688bc 100644 --- a/.scala-steward.conf +++ b/.scala-steward.conf @@ -1,20 +1,4 @@ updates.ignore = [ - { groupId = "com.typesafe", artifactId = "ssl-config-core" }, - - { groupId = "com.typesafe.akka", artifactId = "akka-actor" }, - { groupId = "com.typesafe.akka", artifactId = "akka-actor-typed" }, - { groupId = "com.typesafe.akka", artifactId = "akka-discovery" }, - { groupId = "com.typesafe.akka", artifactId = "akka-slf4j" }, - { groupId = "com.typesafe.akka", artifactId = "akka-stream" }, - { groupId = "com.typesafe.akka", artifactId = "akka-stream-testkit" }, - { groupId = "com.typesafe.akka", artifactId = "akka-testkit" }, - { groupId = "com.typesafe.akka", artifactId = "akka-multi-node-testkit" }, - - { groupId = "com.typesafe.akka", artifactId = "akka-http" }, - { groupId = "com.typesafe.akka", artifactId = "akka-http-core" }, - - # https://github.com/akka/akka-grpc/issues/1631 - { groupId = "com.google.protobuf", artifactId = "protobuf-java" } ] updates.pin = [ @@ -22,11 +6,15 @@ updates.pin = [ # https://github.com/akka/akka-grpc/issues/1506 { groupId = "org.eclipse.jgit", artifactId = "org.eclipse.jgit", version = "5." }, - # https://github.com/akka/akka-grpc/issues/1661 - { groupId = "org.slf4j", artifactId = "slf4j-api", version = "1." } - # logback 1.3 and 1.4 would bump sfl4j to 2.0.0 - # http://mailman.qos.ch/pipermail/announce/2022/000177.html - { groupId = "ch.qos.logback", artifactId = "logback-classic", version = "1.2." } + # Pin logback to v1.3.x because v1.4.x needs JDK11 + { groupId = "ch.qos.logback", version="1.3." } + + # Pin sbt-paradox to v0.9.x because 0.10.x needs JDK 11 + { groupId = "com.lightbend.paradox", artifactId = "sbt-paradox-project-info", version = "0.9." }, + { groupId = "com.lightbend.paradox", artifactId = "sbt-paradox", version = "0.9." } + # Scala 3.3 is a LTS { groupId = "org.scala-lang", artifactId = "scala3-library", version = "3.3." } ] + +updatePullRequests = "always"