Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try to update to sbt-typelevel #449

Merged
merged 17 commits into from
Mar 6, 2022
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ c.render(60)
// )
```

For more examples, see the [tutorial](docs/src/main/mdoc/intro.md).
For more examples, see the [tutorial](docs/src/main/mdoc/index.md).

## Benchmarks

Expand Down
19 changes: 17 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,22 @@ ThisBuild / crossScalaVersions := Seq(Scala213, Scala212, Scala3Version)
ThisBuild / githubWorkflowBuildMatrixExclusions +=
MatrixExclude(Map("project" -> "rootNative", "scala" -> Scala3Version))

// Setup coverage
ThisBuild / githubWorkflowAddedJobs +=
WorkflowJob(
id = "coverage",
name = "Generate coverage report",
scalas = List("2.13.8"),
steps = List(WorkflowStep.Checkout) ++ WorkflowStep.SetupJava(
githubWorkflowJavaVersions.value.toList
) ++ githubWorkflowGeneratedCacheSteps.value ++ List(
WorkflowStep.Sbt(List("coverage", "rootJVM/test", "coverageAggregate")),
WorkflowStep.Run(List("bash <(curl -s https://codecov.io/bash)"))
)
)

ThisBuild / tlCiReleaseBranches := Seq("master")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
ThisBuild / tlCiReleaseBranches := Seq("master")
ThisBuild / tlCiReleaseBranches := Seq("master")
ThisBuild / tlSitePublishBranch := Some("master")


lazy val root = tlCrossRootProject.aggregate(core, cats)

ThisBuild / developers := List(
Expand Down Expand Up @@ -93,8 +109,7 @@ lazy val benchmark = project
lazy val docs = project
.in(file("docs"))
.dependsOn(coreJVM, catsJVM)
.enablePlugins(MdocPlugin)
.enablePlugins(NoPublishPlugin)
.enablePlugins(TypelevelSitePlugin)
.settings(
crossScalaVersions := List(Scala212),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
crossScalaVersions := List(Scala212),
crossScalaVersions := List(Scala213),

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or actually, you can remove this setting completely.

name := "paiges-docs",
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.3.1")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.6")
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.9.3")
addSbtPlugin("org.typelevel" % "sbt-typelevel" % "0.4.6")
addSbtPlugin("org.typelevel" % "sbt-typelevel-site" % "0.4.6")
addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.4.3")