Skip to content

Commit

Permalink
Merge pull request #77 from circe/coverage_workflow
Browse files Browse the repository at this point in the history
install sbt in coverage workflow
  • Loading branch information
zarthross authored Oct 14, 2024
2 parents 7f83081 + 3154e7e commit 17a66e8
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 17a66e8

Please sign in to comment.