Merge pull request #13 from JohnDuprey/dev #14
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: Run PSScriptAnalyzer | |
on: | |
push: | |
branches: [main] | |
jobs: | |
check: | |
name: Check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run PSScriptAnalyzer | |
uses: microsoft/psscriptanalyzer-action@v1.1 | |
with: | |
path: .\DNSHealth | |
recurse: true | |
output: results.sarif | |
- name: Upload SARIF results file | |
uses: github/codeql-action/upload-sarif@v2 | |
with: | |
sarif_file: results.sarif |