From b955e69bd7b3c2aa9ed4349d026813c837c84171 Mon Sep 17 00:00:00 2001 From: Brandon Olin Date: Sun, 9 Jun 2019 00:01:53 -0700 Subject: [PATCH] Add GH Action --- .github/main.workflow | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/main.workflow diff --git a/.github/main.workflow b/.github/main.workflow new file mode 100644 index 0000000..8ce2513 --- /dev/null +++ b/.github/main.workflow @@ -0,0 +1,19 @@ +workflow "psake" { + resolves = "test" + on = "push" +} + +workflow "psscriptanalysis" { + on = "pull_request" + resolves = "analyze" +} + +action "test" { + uses = "devblackops/psake-github-action@master" + args = "test" +} + +action "analyze" { + uses = "devblackops/github-action-psscriptanalyzer@master" + secrets = ["GITHUB_TOKEN"] +}