Skip to content

🩹 [Patch]: Bump PSModule/Invoke-Pester to v5.1.0#122

Merged
Marius Storhaug (MariusStorhaug) merged 1 commit into
mainfrom
deps/invoke-pester-v5.1.0
Jul 11, 2026
Merged

🩹 [Patch]: Bump PSModule/Invoke-Pester to v5.1.0#122
Marius Storhaug (MariusStorhaug) merged 1 commit into
mainfrom
deps/invoke-pester-v5.1.0

Conversation

@MariusStorhaug

Copy link
Copy Markdown
Member

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 pinned PSModule/Invoke-Pester reference to 4ff3319 (v5.1.0).
  • Remapped the Invoke-Pester step's VersionGitHubVersion and PrereleaseGitHubPrerelease to preserve the meaning of this action's inputs across the v5.0.0 breaking change.
  • The Get test paths step 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 🌟 [Major]: Control PSScriptAnalyzer, Pester, and GitHub module versions Invoke-ScriptAnalyzer#32.

Invoke-Pester v5.0.0 release notes: https://github.com/PSModule/Invoke-Pester/releases/tag/v5.0.0

Invoke-Pester v5.0.0 repurposed the Version and Prerelease inputs to select the Pester module version and renamed the GitHub bootstrap-module controls to GitHubVersion and GitHubPrerelease. Remap the action's Version and Prerelease inputs (which select the GitHub module) to GitHubVersion and GitHubPrerelease to preserve their documented behavior.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR upgrades the composite action’s internal PSModule/Invoke-Pester dependency from v4.2.6 to v5.1.0, and remaps inputs so this action’s public Version/Prerelease continue to control the GitHub bootstrap module selection rather than the Pester module selection introduced in Invoke-Pester v5.

Changes:

  • Bumped the pinned PSModule/Invoke-Pester reference to v5.1.0.
  • Remapped VersionGitHubVersion and PrereleaseGitHubPrerelease in the Invoke-Pester step to preserve prior intent.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread action.yml
@MariusStorhaug Marius Storhaug (MariusStorhaug) merged commit 902c5e5 into main Jul 11, 2026
30 of 31 checks passed
@MariusStorhaug Marius Storhaug (MariusStorhaug) deleted the deps/invoke-pester-v5.1.0 branch July 11, 2026 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants