Skip to content

⚙️ [Maintenance]: Lock Pester test dependency to the 6.x major version - #25

Merged
Marius Storhaug (MariusStorhaug) merged 4 commits into
mainfrom
maintenance/lock-pester-major-6
Jul 11, 2026
Merged

⚙️ [Maintenance]: Lock Pester test dependency to the 6.x major version#25
Marius Storhaug (MariusStorhaug) merged 4 commits into
mainfrom
maintenance/lock-pester-major-6

Conversation

@MariusStorhaug

@MariusStorhaugMarius Storhaug (MariusStorhaug) commented Jul 7, 2026

Copy link
Copy Markdown
Member

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.ps1 now starts with:

#Requires -Modules@{ ModuleName='Pester'; ModuleVersion='6.0.0'; MaximumVersion='6.*' }

Any Pester 6.x satisfies it; adopting a new major stays a deliberate change.

Technical Details

@github-actions

Copy link
Copy Markdown

No Significant Changes Detected

This PR does not contain changes to files that would trigger a new release:

PathDescription
src/**Module source code
README.mdDocumentation

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.

@github-actions

Copy link
Copy Markdown

No Significant Changes Detected

This PR does not contain changes to files that would trigger a new release:

PathDescription
src/**Module source code
README.mdDocumentation

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.
@github-actions

Copy link
Copy Markdown

No Significant Changes Detected

This PR does not contain changes to files that would trigger a new release:

PathDescription
src/**Module source code
README.mdDocumentation

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.

@MariusStorhaug
Marius Storhaug (MariusStorhaug) merged commit a2f6737 into mainJul 11, 2026
2 checks passed
@MariusStorhaug
Marius Storhaug (MariusStorhaug) deleted the maintenance/lock-pester-major-6 branch July 11, 2026 15:05
@github-actions

Copy link
Copy Markdown

No Significant Changes Detected

This PR does not contain changes to files that would trigger a new release:

PatternDescription
^src/Matches files where path matches this pattern
^README\.md$Matches files where path matches this pattern

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.

@github-actions

Copy link
Copy Markdown

Super-linter summary

LanguageValidation result
CHECKOVPass ✅
GITHUB_ACTIONSPass ✅
GITLEAKSPass ✅
GIT_MERGE_CONFLICT_MARKERSPass ✅
MARKDOWNPass ✅
NATURAL_LANGUAGEPass ✅
POWERSHELLPass ✅
PRE_COMMITPass ✅
SPELL_CODESPELLPass ✅
TRIVYPass ✅
YAMLPass ✅

All files and directories linted successfully

For more information, see the GitHub Actions workflow run

Powered by Super-linter

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@MariusStorhaug