OSOE-875: Analyzer violations don't show files and lines when run in GitHub Actions #103
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@issue/OSOE-875 | |
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" |