OSOE-864: Adding Validate NuGet Publish workflow, adding missing job names #254
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: Test Analysis Failure | |
# Runs for PRs opened for any branch, and pushes to the dev branch. | |
on: | |
pull_request: | |
push: | |
branches: | |
- dev | |
jobs: | |
call-test-analysis-failure-nuget: | |
name: Test Analysis Failure - NuGet PackageReference | |
uses: Lombiq/GitHub-Actions/.github/workflows/test-analysis-failure.yml@dev | |
with: | |
machine-types: "['ubuntu-24.04', 'windows-2022']" | |
build-directory: TestSolutions/Lombiq.Analyzers.PowerShell.PackageReference | |
timeout-minutes: 30 | |
build-expected-code-analysis-errors: | | |
MSB3073: The command exited with non-zero code. | |
PSAvoidExclaimOperator: Avoid using the ! negation operator | |
PSAvoidUsingAutomaticVariableAlias: '$_' is an alias of '$PSItem'. | |
PSAvoidUsingCmdletAliases: '%' is an alias of 'ForEach-Object'. | |
PSAvoidUsingDoubleQuotesForConstantString: Use single quotes when a string is constant. | |
PSAvoidUsingEmptyCatchBlock: Empty catch block is used. | |
PSAvoidUsingLineContinuation: Using backtick (line continuation) makes the code harder to read and maintain. | |
PSAvoidUsingUnnecessaryBracesInVariableNames: Variable names should not use unnecessary braces | |
PSAvoidUsingWriteHost: File 'Violate-Analyzers.ps1' uses Write-Host. | |
PSPlaceOpenBrace: Open brace is not on a new line. | |
PSUseApprovedVerbs: The cmdlet 'Violate-Analyzers' uses an unapproved verb. | |
PSUseConsistentIndentation: Indentation not consistent | |
PSUseCorrectAutomaticVariableNames: Automatic variables should be used exactly as they are documented | |
PSUseCorrectParameterNameCasing: Parameter names should start with an uppercase letter | |
PSUseCorrectVariableNameCasing: Variable names should start with a lowercase letter | |
PSUseParametersAsDeclared: Parameters should be used with exactly as they were declared | |
PSUseSingularNouns: The cmdlet 'Violate-Analyzers' uses a plural noun. | |
call-test-analysis-failure-local: | |
name: Test Analysis Failure - Local ProjectReference | |
uses: Lombiq/GitHub-Actions/.github/workflows/test-analysis-failure.yml@dev | |
with: | |
machine-types: "['ubuntu-24.04', 'windows-2022']" | |
build-directory: TestSolutions/Lombiq.Analyzers.PowerShell.ProjectReference | |
timeout-minutes: 30 | |
build-expected-code-analysis-errors: | | |
MSB3073: The command exited with non-zero code. | |
PSAvoidExclaimOperator: Avoid using the ! negation operator | |
PSAvoidUsingAutomaticVariableAlias: '$_' is an alias of '$PSItem'. | |
PSAvoidUsingCmdletAliases: '%' is an alias of 'ForEach-Object'. | |
PSAvoidUsingDoubleQuotesForConstantString: Use single quotes when a string is constant. | |
PSAvoidUsingEmptyCatchBlock: Empty catch block is used. | |
PSAvoidUsingLineContinuation: Using backtick (line continuation) makes the code harder to read and maintain. | |
PSAvoidUsingUnnecessaryBracesInVariableNames: Variable names should not use unnecessary braces | |
PSAvoidUsingWriteHost: File 'Violate-Analyzers.ps1' uses Write-Host. | |
PSPlaceOpenBrace: Open brace is not on a new line. | |
PSUseApprovedVerbs: The cmdlet 'Violate-Analyzers' uses an unapproved verb. | |
PSUseConsistentIndentation: Indentation not consistent | |
PSUseCorrectAutomaticVariableNames: Automatic variables should be used exactly as they are documented | |
PSUseCorrectParameterNameCasing: Parameter names should start with an uppercase letter | |
PSUseCorrectVariableNameCasing: Variable names should start with a lowercase letter | |
PSUseParametersAsDeclared: Parameters should be used with exactly as they were declared | |
PSUseSingularNouns: The cmdlet 'Violate-Analyzers' uses a plural noun. |