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

v3.0.13

Choose a tag to compare

@github-actions github-actions released this 08 Jul 15:41
25c9cd8

🪲 [Fix]: Built modules with resolved versions can be tested (#119)

Built modules whose manifests carry a real, resolved version can now be tested by Test-PSModule. Previously the action installed the built module under the historical 999.0.0 placeholder folder, so module tests failed once the build flow started stamping manifests with the version that will actually be shipped.

Fixed: Built modules with resolved versions can be tested

Test-PSModule now installs and validates built module outputs whose manifest ModuleVersion has already been resolved to the real build version. The module is installed under a matching version folder before module tests run, so PowerShell accepts the manifest and Pester validates the artifact from the expected path.

This is delivered by bumping the pinned PSModule/Install-PSModuleHelpers to v1.0.8, which installs built modules at their real version instead of the 999.0.0 placeholder.

Technical Details

  • action.yml: PSModule/Install-PSModuleHelpers pin bumped v1.0.7 -> v1.0.8 (the release from PSModule/Install-PSModuleHelpers#19).
  • src/tests/Module/PSModule/PSModule.Tests.ps1: new test asserting the installed version folder matches the manifest ModuleVersion, guarding against a regression to the 999.0.0 behavior.
  • tests/outputTestRepo/outputs/module/PSModuleTest/PSModuleTest.psd1: fixture ModuleVersion updated 999.0.0 -> 3.0.11 to model the current build output.
  • The branch is merged up to date with main, which already carries the actions/checkout v7.0.0, super-linter v8.7.0, and PSModule/Invoke-Pester v4.2.6 pins, so this PR no longer changes those.