chore(pwsh): add .ps1 linting to ci/cd

This commit is contained in:
AJ ONeal
2023-10-18 02:11:48 -06:00
parent 3d51b8373a
commit 589edd6940
3 changed files with 11 additions and 2 deletions
+6
View File
@@ -7,3 +7,9 @@ curl -fsS https://webi.sh/shfmt@3.7 | sh
# Install 'shellcheck v0.9.x'
curl -fsS https://webi.sh/shellcheck@0.9 | sh
# Install 'pwsh (PowerShell Core) v7.x'
curl -fsS https://webi.sh/pwsh@7 | sh
# shellcheck disable=SC1090
. ~/.config/envman/PATH.env
pwsh -Command "Install-Module -Name PSScriptAnalyzer -Scope CurrentUser -AllowClobber"