diff --git a/.github/main.workflow b/.github/main.workflow new file mode 100644 index 0000000..f529e02 --- /dev/null +++ b/.github/main.workflow @@ -0,0 +1,23 @@ +workflow "Build" { + on = "push" + resolves = "Docker build" +} + +action "Lint" { + uses = "actions/action-builder/shell@master" + runs = "make" + args = "lint" +} + +action "Test" { + uses = "actions/action-builder/shell@master" + runs = "make" + args = "test" +} + +action "Docker build" { + needs = ["Lint", "Test"] + uses = "actions/action-builder/docker@master" + runs = "make" + args = "build" +}