Skip to content

Commit b955e69

Browse files
committed
Add GH Action
1 parent 2c2d435 commit b955e69

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/main.workflow

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
workflow "psake" {
2+
resolves = "test"
3+
on = "push"
4+
}
5+
6+
workflow "psscriptanalysis" {
7+
on = "pull_request"
8+
resolves = "analyze"
9+
}
10+
11+
action "test" {
12+
uses = "devblackops/psake-github-action@master"
13+
args = "test"
14+
}
15+
16+
action "analyze" {
17+
uses = "devblackops/github-action-psscriptanalyzer@master"
18+
secrets = ["GITHUB_TOKEN"]
19+
}

0 commit comments

Comments
 (0)