Skip to content

Commit

Permalink
install sbt in coverage workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hamnis committed Oct 14, 2024
1 parent 7f83081 commit 3154e7e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion core/src/main/scala/io/circe/sbt/CirceOrgPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,13 @@ object CirceOrgPlugin extends AutoPlugin {
id = "coverage",
name = "Generate coverage report",
scalas = githubWorkflowScalaVersions.value.toList,
steps = List(WorkflowStep.Checkout) ++ WorkflowStep.SetupJava(
steps = List(
WorkflowStep.Use(
UseRef.Public("sbt", "setup-sbt", "v1"),
name = Some("Install sbt")
),
WorkflowStep.Checkout
) ++ WorkflowStep.SetupJava(
List(githubWorkflowJavaVersions.value.last)
) ++ githubWorkflowGeneratedCacheSteps.value ++ List(
WorkflowStep.Sbt(List("coverage", s"$rootProj/test", "coverageAggregate")),
Expand Down

0 comments on commit 3154e7e

Please sign in to comment.