File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626 persist-credentials : false
2727
2828 - name : Lint-SourceCode
29- uses : PSModule/Invoke-ScriptAnalyzer@4d633e4df1f1fa575949a328839d33c3a0838765 # v5.0.0
29+ uses : PSModule/Invoke-ScriptAnalyzer@9acddbd55ff4634b738be3a219c76e3676aaf1cd # v5.0.1
3030 with :
3131 Debug : ${{ fromJson(inputs.Settings).Debug }}
3232 GitHubPrerelease : ${{ fromJson(inputs.Settings).Prerelease }}
Original file line number Diff line number Diff line change 7070 path : ${{ fromJson(inputs.Settings).WorkingDirectory }}/.PSModule/module
7171
7272 - name : Lint-Module
73- uses : PSModule/Invoke-ScriptAnalyzer@4d633e4df1f1fa575949a328839d33c3a0838765 # v5.0.0
73+ uses : PSModule/Invoke-ScriptAnalyzer@9acddbd55ff4634b738be3a219c76e3676aaf1cd # v5.0.1
7474 with :
7575 Path : .PSModule/module
7676 Debug : ${{ fromJson(inputs.Settings).Debug }}
Original file line number Diff line number Diff line change 9191 if (-not $content.Contains($expectedPath)) {
9292 throw "Expected isolated analyzer report path was not found in $workflowPath."
9393 }
94+
95+ $expectedAction = 'uses: PSModule/Invoke-ScriptAnalyzer@9acddbd55ff4634b738be3a219c76e3676aaf1cd # v5.0.1'
96+ if (-not $content.Contains($expectedAction)) {
97+ throw "Expected released analyzer action pin was not found in $workflowPath."
98+ }
9499 }
95100
96101 $buildDocsWorkflow = Get-Content -Path '.github/workflows/Build-Docs.yml' -Raw
You can’t perform that action at this time.
0 commit comments