Skip to content
This repository was archived by the owner on Jul 16, 2026. It is now read-only.

Commit 902c5e5

Browse files
🩹 [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 pinned `PSModule/Invoke-Pester` reference to `4ff3319` (v5.1.0). - Remapped the Invoke-Pester step's `Version` → `GitHubVersion` and `Prerelease` → `GitHubPrerelease` 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 PSModule/Invoke-ScriptAnalyzer#32. Invoke-Pester v5.0.0 release notes: https://github.com/PSModule/Invoke-Pester/releases/tag/v5.0.0
1 parent 25c9cd8 commit 902c5e5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -281,16 +281,16 @@ runs:
281281
${{ github.action_path }}/src/main.ps1
282282
283283
- name: Invoke-Pester
284-
uses: PSModule/Invoke-Pester@9cf262a79e7528d5af41c875c35dae91c44d18dd # v4.2.6
284+
uses: PSModule/Invoke-Pester@4ff33199141fdf22568990b6107fe3148ae93a1c # v5.1.0
285285
id: test
286286
env:
287287
LocalTestPath: ${{ steps.paths.outputs.LocalTestPath }}
288288
WorkingDirectory: ${{ inputs.WorkingDirectory }}
289289
with:
290290
Debug: ${{ inputs.Debug }}
291291
Verbose: ${{ inputs.Verbose }}
292-
Version: ${{ inputs.Version }}
293-
Prerelease: ${{ inputs.Prerelease }}
292+
GitHubVersion: ${{ inputs.Version }}
293+
GitHubPrerelease: ${{ inputs.Prerelease }}
294294
WorkingDirectory: ${{ inputs.WorkingDirectory }}
295295
Path: ${{ steps.paths.outputs.TestPath }}
296296
StepSummary_Mode: ${{ inputs.StepSummary_Mode }}

0 commit comments

Comments
 (0)