Adds options for annotations and asset name on Linux install #238
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: Script Linting | |
on: | |
pull_request: | |
types: [opened, reopened, synchronize] | |
permissions: {} | |
jobs: | |
shellcheck: | |
name: Shellcheck | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run ShellCheck | |
uses: ludeeus/action-shellcheck@master | |
with: | |
ignore_paths: examples | |
severity: warning | |
scandir: '.' | |
powershell: | |
name: PowerShell Analyzer | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run PSScriptAnalyzer | |
uses: microsoft/psscriptanalyzer-action@v1.1 | |
with: | |
path: .\*.ps1 | |
output: 'results.sarif' | |
- name: Upload SARIF results file | |
uses: github/codeql-action/upload-sarif@v3 | |
with: | |
sarif_file: results.sarif |