-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove sbt-github-actions plugin (#1065)
* remove sbt-github-actions plugin * remove excess action
- Loading branch information
1 parent
132293d
commit 669926f
Showing
4 changed files
with
21 additions
and
150 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
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,37 +1,11 @@ | ||
ThisBuild / scalaVersion := Dependencies.Version.scala213 | ||
|
||
ThisBuild / crossScalaVersions := Vector( | ||
ThisBuild / crossScalaVersions := Vector( | ||
Dependencies.Version.scala213, | ||
Dependencies.Version.scala212 | ||
) | ||
|
||
ThisBuild / githubWorkflowTargetTags ++= Seq("v*") | ||
|
||
ThisBuild / githubWorkflowPublishTargetBranches := Seq( | ||
RefPredicate.Equals(Ref.Branch("master")), | ||
RefPredicate.StartsWith(Ref.Tag("v")) | ||
) | ||
|
||
ThisBuild / githubWorkflowJavaVersions := Seq(JavaSpec.temurin("8"), JavaSpec.temurin("17")) | ||
|
||
ThisBuild / githubWorkflowBuildPreamble += WorkflowStep.Sbt( | ||
List("scalafmtCheckAll", "scalafmtSbtCheck"), | ||
name = Some("Check formatting") | ||
) | ||
|
||
ThisBuild / githubWorkflowPublish := Seq( | ||
WorkflowStep.Sbt( | ||
List("ci-release"), | ||
name = Some("Publish artifacts"), | ||
env = Map( | ||
"PGP_PASSPHRASE" -> "${{ secrets.PGP_PASSPHRASE }}", | ||
"PGP_SECRET" -> "${{ secrets.PGP_SECRET }}", | ||
"SONATYPE_PASSWORD" -> "${{ secrets.SONATYPE_PASSWORD }}", | ||
"SONATYPE_USERNAME" -> "${{ secrets.SONATYPE_USERNAME }}" | ||
) | ||
) | ||
) | ||
ThisBuild / versionScheme := Some("semver-spec") | ||
ThisBuild / versionScheme := Some("semver-spec") | ||
|
||
ThisBuild / licenses += ("Apache-2.0", url("http://www.apache.org/licenses/LICENSE-2.0")) | ||
|
||
|
@@ -49,17 +23,9 @@ ThisBuild / homepage := Some(url("https://github.com/tofu-tf/tofu")) | |
|
||
ThisBuild / description := "Opinionated set of tools for functional programming in Scala" | ||
|
||
ThisBuild / scmInfo := Some( | ||
ThisBuild / scmInfo := Some( | ||
ScmInfo( | ||
url("https://github.com/tofu-tf/tofu"), | ||
"[email protected]:tofu-tf/tofu.git" | ||
) | ||
) | ||
|
||
ThisBuild / githubWorkflowBuildPostamble += WorkflowStep.Sbt( | ||
name = Some("Generate docs"), | ||
commands = List("docs/mdoc"), | ||
cond = Some("startsWith(matrix.scala, '2.13')") | ||
) | ||
|
||
ThisBuild / githubWorkflowEnv += "CI" -> "true" |
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