Skip to content

Commit

Permalink
Run format check in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jclem committed Dec 18, 2018
1 parent 8e5142c commit 9b9a012
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/main.workflow
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
workflow "Run tests" {
on = "push"
resolves = ["mix test"]
resolves = [
"mix test",
"mix format",
]
}

action "mix deps.get" {
Expand All @@ -13,3 +16,8 @@ action "mix test" {
needs = ["mix deps.get"]
args = "test --trace"
}

action "mix format" {
uses = "jclem/actions/mix@master"
args = "format --check-formatting"
}

0 comments on commit 9b9a012

Please sign in to comment.