Skip to content

Commit 97f9790

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

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.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/action@v3.0.1
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)