Skip to content

Commit 49e6aae

Browse files
dependabot[bot]MariusStorhaug
authored andcommitted
Bump PSModule/Invoke-Pester from 4.2.4 to 5.1.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.
1 parent f3cbd69 commit 49e6aae

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
@@ -262,15 +262,15 @@ runs:
262262
Script: ${{ github.action_path }}/src/main.ps1
263263

264264
- name: Invoke-Pester
265-
uses: PSModule/Invoke-Pester@abddf7bef0d0614d7ca322036af6a06ee0fb4d44 # v4.2.4
265+
uses: PSModule/Invoke-Pester@4ff33199141fdf22568990b6107fe3148ae93a1c # v5.1.0
266266
id: test
267267
env:
268268
SettingsFilePath: ${{ fromJson(steps.paths.outputs.result).SettingsFilePath }}
269269
with:
270270
Debug: ${{ inputs.Debug }}
271-
Prerelease: ${{ inputs.Prerelease }}
271+
GitHubPrerelease: ${{ inputs.Prerelease }}
272+
GitHubVersion: ${{ inputs.Version }}
272273
Verbose: ${{ inputs.Verbose }}
273-
Version: ${{ inputs.Version }}
274274
WorkingDirectory: ${{ inputs.WorkingDirectory }}
275275
TestResult_TestSuiteName: ${{ inputs.TestResult_TestSuiteName }}
276276
Path: ${{ github.action_path }}/src/tests/PSScriptAnalyzer

0 commit comments

Comments
 (0)