Skip to content

Commit 97f9790

Browse files
authored
Lint PowerShell scripts with PSScriptAnalyzer (#125)
1 parent c6b9612 commit 97f9790

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/lint.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,8 @@ jobs:
1919
python-version: "3.x"
2020
cache: pip
2121
- uses: pre-commit/[email protected]
22+
23+
- name: Run PSScriptAnalyzer on PowerShell scripts
24+
shell: pwsh
25+
run: |
26+
Invoke-ScriptAnalyzer -Path . -Recurse -Severity ParseError,Error -EnableExit

0 commit comments

Comments
 (0)