Merge pull request #47 from Lombiq/issue/INFRA-164 #117
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PowerShell Static Code Analysis | |
# Runs for PRs opened for any branch, and pushes to the dev branch. | |
on: | |
pull_request: | |
push: | |
branches: | |
- dev | |
jobs: | |
powershell-static-code-analysis: | |
name: PowerShell Static Code Analysis | |
uses: Lombiq/PowerShell-Analyzers/.github/workflows/static-code-analysis.yml@dev | |
with: | |
# Making sure that analysis runs through both PowerShell editions regardless of the default configuration of the | |
# workflow and the underlying action to ensure backwards-compatibility. | |
run-windows-powershell: 'true' | |
run-powershell-core: 'true' |