Skip to content

Commit

Permalink
Merge pull request #8 from jclem/jclem-patch-1
Browse files Browse the repository at this point in the history
Check formatting
  • Loading branch information
jclem committed Dec 18, 2018
2 parents c0164f7 + 630e148 commit e511eda
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" {
args = "test --trace"
needs = ["mix deps.get"]
}

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

0 comments on commit e511eda

Please sign in to comment.