We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c1caaa commit 14a0e06Copy full SHA for 14a0e06
1 file changed
.github/workflows/__call-common-lint.yml
@@ -362,6 +362,8 @@ jobs:
362
run: |
363
# PSScriptAnalyzer is already installed on GitHub runners
364
if ($env:RUNNER_NAME -notlike 'GitHub Actions*') {
365
+ Register-PSRepository -Default -InstallationPolicy Trusted
366
+ Register-PSRepository -Name PSGallery -SourceLocation https://www.powershellgallery.com/api/v2/ -InstallationPolicy Trusted
367
Install-Module -Name PSScriptAnalyzer -Force
368
}
369
0 commit comments