From 91810779d0747d9616a7b281190e1bf759214ba8 Mon Sep 17 00:00:00 2001 From: Mark Canlas Date: Mon, 2 Jan 2023 16:17:28 -0500 Subject: [PATCH] drop sbt gha --- project/GitHubActionsSettings.scala | 25 ------------------------- project/plugins.sbt | 11 +++++------ 2 files changed, 5 insertions(+), 31 deletions(-) delete mode 100644 project/GitHubActionsSettings.scala diff --git a/project/GitHubActionsSettings.scala b/project/GitHubActionsSettings.scala deleted file mode 100644 index 4989993..0000000 --- a/project/GitHubActionsSettings.scala +++ /dev/null @@ -1,25 +0,0 @@ -import sbt._ -import sbt.Keys._ -import sbtghactions._ -import sbtghactions.GenerativeKeys._ - -/** - * Automatically enriches projects with the following settings (despite the word "override"). - */ -object GitHubActionsSettings extends AutoPlugin { - - /** - * Thus plug-in will automatically be enabled; it has no requirements. - */ - override def trigger: PluginTrigger = AllRequirements - - override def requires: Plugins = - GitHubActionsPlugin - - override val buildSettings: Seq[Setting[_]] = Seq( - githubWorkflowBuild := Seq(WorkflowStep.Sbt(List("scalafixAll --check", "scalafmtCheck", "test"))), - githubWorkflowEnv := Map("GH_PACKAGES_TOKEN" -> "${{ secrets.GH_PACKAGES_TOKEN }}"), - githubWorkflowPublishTargetBranches := Nil, - githubWorkflowIncludeClean := false - ) -} diff --git a/project/plugins.sbt b/project/plugins.sbt index 5e116d7..e129af5 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,6 +1,5 @@ -addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.0") -addSbtPlugin("io.github.davidgregory084" % "sbt-tpolecat" % "0.4.1") -addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.0.6") -addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.10.4") -addSbtPlugin("org.wartremover" % "sbt-wartremover" % "3.0.7") -addSbtPlugin("com.codecommit" % "sbt-github-actions" % "0.14.2") +addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.0") +addSbtPlugin("io.github.davidgregory084" % "sbt-tpolecat" % "0.4.1") +addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.0.6") +addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.10.4") +addSbtPlugin("org.wartremover" % "sbt-wartremover" % "3.0.7")