Skip to content

Windows v1.11

Windows v1.11 #67

Workflow file for this run

name: windows/lint
on:
workflow_dispatch:
push:
branches: [ main ]
paths:
- 'windows/**/*.ps1'
pull_request:
branches: [ main ]
defaults:
run:
working-directory: windows
jobs:
lint:
permissions:
contents: read
security-events: write
actions: read
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v3
- name: Run PSScriptAnalyzer
uses: microsoft/[email protected]
with:
path: .\
recurse: true
excludeRule: '"AvoidUsingWriteHost"'
output: results.sarif
- name: Upload SARIF results file
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: results.sarif