Add Lint action to main.workflow

This commit is contained in:
Jonathan Clem
2019-05-21 10:36:00 -04:00
parent 20f0d3983a
commit 4fa292edb2
+7 -1
View File
@@ -1,6 +1,6 @@
workflow "CI" { workflow "CI" {
on = "push" on = "push"
resolves = ["Format", "Test"] resolves = ["Format", "Lint", "Test"]
} }
action "Dependencies" { action "Dependencies" {
@@ -26,6 +26,12 @@ action "Format" {
args = "run format-check" args = "run format-check"
} }
action "Lint" {
needs = "Dependencies"
uses = "actions/[email protected]"
args = "run lint"
}
action "Test" { action "Test" {
needs = "Compile" needs = "Compile"
uses = "actions/[email protected]" uses = "actions/[email protected]"