Skip to content
This repository was archived by the owner on Jul 16, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ runs:
using: composite
steps:
- name: Install-PSModuleHelpers
uses: PSModule/Install-PSModuleHelpers@ed79b6e3aa8c9cd3d30ab2bf02ea6bd4687b9c74 # v1.0.7
uses: PSModule/Install-PSModuleHelpers@383aa36cd1b9dc838157cc4d08bb98cebc603216 # TEMP: fix/install-real-module-version (PSModule/Install-PSModuleHelpers#19)
Comment thread
MariusStorhaug marked this conversation as resolved.
Outdated

- name: Get test paths
shell: pwsh
Expand Down
6 changes: 6 additions & 0 deletions src/tests/Module/PSModule/PSModule.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,12 @@ Describe 'PSModule - Module tests' {
$result | Should -Be $true
Write-Host "$($result | Format-List | Out-String)"
}
It 'Module version folder matches the manifest version' {
$manifest = Import-PowerShellDataFile -Path $moduleManifestPath
$moduleVersionFolder = Split-Path -Path (Split-Path -Path $moduleManifestPath -Parent) -Leaf

$moduleVersionFolder | Should -Be $manifest.ModuleVersion.ToString()
}
It 'Module Manifest is valid' {
$result = Test-ModuleManifest -Path $moduleManifestPath
$result | Should -Not -Be $null
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@{
RootModule = 'PSModuleTest.psm1'
ModuleVersion = '999.0.0'
ModuleVersion = '3.0.11'
CompatiblePSEditions = @(
'Core'
'Desktop'
Expand Down
Loading