Skip to content

Commit

Permalink
Add submodule config
Browse files Browse the repository at this point in the history
  • Loading branch information
travisbrown committed Dec 10, 2020
1 parent 6d5ab6d commit 70c4881
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 0
submodules: recursive

- name: Setup Java and Scala
uses: olafurpg/setup-scala@v10
Expand Down
7 changes: 7 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ organization in ThisBuild := "org.dhallj"

githubWorkflowJavaVersions in ThisBuild := Seq("adopt@1.8")
githubWorkflowPublishTargetBranches in ThisBuild := Nil
githubWorkflowJobSetup in ThisBuild := {
githubWorkflowJobSetup.in(ThisBuild).value.toList.map {
case step @ WorkflowStep.Use("actions", "checkout", "v2", _, _, _, _, _) =>
step.copy(params = step.params.updated("submodules", "recursive"))
case other => other
}
}
githubWorkflowBuild in ThisBuild := Seq(
WorkflowStep.Run(
List("pip install --user codecov"),
Expand Down

0 comments on commit 70c4881

Please sign in to comment.