🩹 [Patch]: Bump PSModule/Invoke-Pester to v5.1.0 (#122)
Bumps the internal PSModule/Invoke-Pester action from v4.2.6 to v5.1.0, keeping this action's public Version and Prerelease inputs behaving exactly as documented.
Changed: Invoke-Pester upgraded to v5.1.0
Invoke-Pester v5.0.0 is a major release that repurposed its Version and Prerelease inputs to select the Pester module version (NuGet range syntax) and renamed the GitHub bootstrap-module controls to GitHubVersion and GitHubPrerelease.
This action's own Version and Prerelease inputs — documented as selecting the GitHub module version — are now wired to Invoke-Pester's GitHubVersion and GitHubPrerelease, so their behavior is unchanged for consumers. This action's public interface is unaffected.
Technical Details
action.yml: bumped the pinnedPSModule/Invoke-Pesterreference to4ff3319(v5.1.0).- Remapped the Invoke-Pester step's
Version→GitHubVersionandPrerelease→GitHubPrereleaseto preserve the meaning of this action's inputs across the v5.0.0 breaking change. - The
Get test pathsstep is a plain PowerShell step and does not consume these inputs, so no other change is needed. - Pester version selection is left at the v5 default (latest).
- Mirrors the same change in PSModule/Invoke-ScriptAnalyzer#32.
Invoke-Pester v5.0.0 release notes: https://github.com/PSModule/Invoke-Pester/releases/tag/v5.0.0