⚙️ [Maintenance]: Lock Pester test dependency to the 6.x major version#25
Conversation
No Significant Changes DetectedThis PR does not contain changes to files that would trigger a new release:
Build, test, and publish stages will be skipped for this PR. If you believe this is incorrect, please verify that your changes are in the correct locations. |
No Significant Changes DetectedThis PR does not contain changes to files that would trigger a new release:
Build, test, and publish stages will be skipped for this PR. If you believe this is incorrect, please verify that your changes are in the correct locations. |
The GUID pins module identity (precise pinning), a stricter control than the lock-to-major risk appetite. Keep only the version range.
No Significant Changes DetectedThis PR does not contain changes to files that would trigger a new release:
Build, test, and publish stages will be skipped for this PR. If you believe this is incorrect, please verify that your changes are in the correct locations. |
No Significant Changes DetectedThis PR does not contain changes to files that would trigger a new release:
Build, test, and publish stages will be skipped for this PR. If you believe this is incorrect, please verify that your changes are in the correct locations. |
Super-linter summary
All files and directories linted successfully For more information, see the GitHub Actions workflow run Powered by Super-linter |
Modules scaffolded from this template now inherit a Pester 6.x major-version requirement in their test file, so every new module starts aligned with the rest of the ecosystem.
Changed: the module test template requires Pester 6.x
tests/PSModuleTest.Tests.ps1now starts with:#Requires -Modules @{ ModuleName = 'Pester'; ModuleVersion = '6.0.0'; MaximumVersion = '6.*' }Any Pester
6.xsatisfies it; adopting a new major stays a deliberate change.Technical Details
#Requires -Modulesstatement to the template's test file. Module-identity (GUID) pinning is intentionally omitted — a separate supply-chain control, not part of the lock-to-major risk appetite.