Testing integration tests. #13
Workflow file for this run
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: "pwsh_lint" | |
on: | |
pull_request: | |
branches: | |
- "main" | |
jobs: | |
pwsh_lint: | |
runs-on: windows-latest | |
steps: | |
- name: enable long file path | |
run: | | |
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force | |
- name: checkout source | |
uses: actions/checkout@v4 | |
- name: install PSScriptAnalyzer | |
run: | | |
Install-Module -Name PSScriptAnalyzer -RequiredVersion 1.21.0 | |
Get-InstalledModule | |
- name: pwsh lint check | |
run: | | |
Invoke-ScriptAnalyzer -Recurse -EnableExit -Path .\tasks -ReportSummary |