mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-08-19 03:56:16 +00:00
chore(pwsh): add .ps1 linting to ci/cd
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user