Skip to content

Commit

Permalink
Adjust WorkflowStep.Sbt constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
pomadchin committed May 11, 2024
1 parent d4bff20 commit cda0e4d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ jobs:

- name: Publish site
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/master'
uses: peaceiris/actions-gh-pages@v3.9.3
uses: peaceiris/actions-gh-pages@v4.0.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: mdocs/target/docs/site
Expand Down
4 changes: 2 additions & 2 deletions github.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ ThisBuild / githubWorkflowBuildSbtStepPreamble += s"project $${{ matrix.project
ThisBuild / tlCiScalafmtCheck := true
ThisBuild / githubWorkflowBuild ~= { steps =>
steps.map { // replace the test step
case _ @WorkflowStep.Sbt(List("test"), _, _, _, _, _, _, _) =>
case step: WorkflowStep.Sbt if step.commands == List("test") =>
WorkflowStep.Sbt(
List("coverage", "test", "test/coverageReport"),
commands = List("coverage", "test", "test/coverageReport"),
name = Some("Test & Compute Coverage")
)
case step => step
Expand Down

0 comments on commit cda0e4d

Please sign in to comment.