Skip to content

Add Powershell linting #4

Add Powershell linting

Add Powershell linting #4

name: Run PSPSScriptAnalyzer on PowerShell Scripts
on:
pull_request:
jobs:
PSScriptAnalyzer:
name: Pester test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run PSScriptAnalyzer on PowerShell Scripts
shell: pwsh
run: |
Invoke-ScriptAnalyzer -Path ./files/ -Recurse -Severity Error -EnableExit