summaryrefslogtreecommitdiff
path: root/test/lib/ansible_test/_data/requirements/sanity.pslint.ps1
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/ansible_test/_data/requirements/sanity.pslint.ps1')
-rw-r--r--test/lib/ansible_test/_data/requirements/sanity.pslint.ps14
1 files changed, 3 insertions, 1 deletions
diff --git a/test/lib/ansible_test/_data/requirements/sanity.pslint.ps1 b/test/lib/ansible_test/_data/requirements/sanity.pslint.ps1
index 68545c9e..df36d61a 100644
--- a/test/lib/ansible_test/_data/requirements/sanity.pslint.ps1
+++ b/test/lib/ansible_test/_data/requirements/sanity.pslint.ps1
@@ -28,8 +28,10 @@ Function Install-PSModule {
}
}
+# Versions changes should be made first in ansible-test which is then synced to
+# the default-test-container over time
Set-PSRepository -Name PSGallery -InstallationPolicy Trusted
-Install-PSModule -Name PSScriptAnalyzer -RequiredVersion 1.20.0
+Install-PSModule -Name PSScriptAnalyzer -RequiredVersion 1.21.0
if ($IsContainer) {
# PSScriptAnalyzer contain lots of json files for the UseCompatibleCommands check. We don't use this rule so by