Skip to content

Update SystemTester.ps1 #54

Update SystemTester.ps1

Update SystemTester.ps1 #54

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
#
# https://github.com/microsoft/action-psscriptanalyzer
# For more information on PSScriptAnalyzer in general, see
# https://github.com/PowerShell/PSScriptAnalyzer
name: PowerShell Lint
on:
push:
paths:
- '**.ps1'
pull_request:
paths:
- '**.ps1'
jobs:
lint:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install PSScriptAnalyzer
run: Install-Module -Name PSScriptAnalyzer -Force -Scope CurrentUser
- name: Run PSScriptAnalyzer
run: Invoke-ScriptAnalyzer -Path . -Recurse
shell: pwsh