Unverified Commit 92aa07b4 authored by Nikita Titov's avatar Nikita Titov Committed by GitHub
Browse files

[ci] check PowerShell scripts with PSScriptAnalyzer (part 2) (#6709)

parent 8d5dca2e
...@@ -100,7 +100,7 @@ fi ...@@ -100,7 +100,7 @@ fi
if [[ $TASK == "lint" ]]; then if [[ $TASK == "lint" ]]; then
pwsh -command "Install-Module -Name PSScriptAnalyzer -Scope CurrentUser -SkipPublisherCheck" pwsh -command "Install-Module -Name PSScriptAnalyzer -Scope CurrentUser -SkipPublisherCheck"
echo "Linting PowerShell code" echo "Linting PowerShell code"
pwsh -file "./.ci/lint-powershell.ps1" || exit 0 pwsh -file "./.ci/lint-powershell.ps1" || :
conda create -q -y -n "${CONDA_ENV}" \ conda create -q -y -n "${CONDA_ENV}" \
"${CONDA_PYTHON_REQUIREMENT}" \ "${CONDA_PYTHON_REQUIREMENT}" \
'cmakelint>=1.4.3' \ 'cmakelint>=1.4.3' \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment