From 17ac6d65c9143e1da905505c92015c7d890bdb09 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Tue, 7 Jul 2026 17:42:45 +0200 Subject: [PATCH 1/4] Require Pester 6.x in test files --- tests/PATH.Tests.ps1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/PATH.Tests.ps1 b/tests/PATH.Tests.ps1 index 30f0c97..1d9ea09 100644 --- a/tests/PATH.Tests.ps1 +++ b/tests/PATH.Tests.ps1 @@ -1,4 +1,6 @@ -Describe 'PATH' { +#Requires -Modules @{ ModuleName = 'Pester'; ModuleVersion = '6.0.0'; MaximumVersion = '6.*'; GUID = 'a699dea5-2c73-4616-a270-1f7abb777e71' } + +Describe 'PATH' { Context 'Function: Get-EnvironemntPath' { Context 'CurrentUser' { It 'Should not throw' { From 3b3df9a87c51eabb29727f123ef5d7d7f08385f9 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Tue, 7 Jul 2026 21:12:18 +0200 Subject: [PATCH 2/4] Drop the GUID from the Pester requirement The GUID pins module identity (precise pinning), a stricter control than the lock-to-major risk appetite. Keep only the version range. --- tests/PATH.Tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/PATH.Tests.ps1 b/tests/PATH.Tests.ps1 index 1d9ea09..b37485a 100644 --- a/tests/PATH.Tests.ps1 +++ b/tests/PATH.Tests.ps1 @@ -1,4 +1,4 @@ -#Requires -Modules @{ ModuleName = 'Pester'; ModuleVersion = '6.0.0'; MaximumVersion = '6.*'; GUID = 'a699dea5-2c73-4616-a270-1f7abb777e71' } +#Requires -Modules @{ ModuleName = 'Pester'; ModuleVersion = '6.0.0'; MaximumVersion = '6.*' } Describe 'PATH' { Context 'Function: Get-EnvironemntPath' { From ffdbf38495ec50fcca0dd75bcc44d98263b2a1d4 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Wed, 8 Jul 2026 00:11:11 +0200 Subject: [PATCH 3/4] Fix Get-EnvironmentPath typo in test context label --- tests/PATH.Tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/PATH.Tests.ps1 b/tests/PATH.Tests.ps1 index b37485a..155fbe4 100644 --- a/tests/PATH.Tests.ps1 +++ b/tests/PATH.Tests.ps1 @@ -1,7 +1,7 @@ #Requires -Modules @{ ModuleName = 'Pester'; ModuleVersion = '6.0.0'; MaximumVersion = '6.*' } Describe 'PATH' { - Context 'Function: Get-EnvironemntPath' { + Context 'Function: Get-EnvironmentPath' { Context 'CurrentUser' { It 'Should not throw' { $result = Get-EnvironmentPath From 27f3e1b380565c0e36df2319ea6f42d2df6b7c22 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sun, 12 Jul 2026 11:56:52 +0200 Subject: [PATCH 4/4] Adopt Process-PSModule v6.1.4 --- .github/workflows/Process-PSModule.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Process-PSModule.yml b/.github/workflows/Process-PSModule.yml index 9462763..a8e37ad 100644 --- a/.github/workflows/Process-PSModule.yml +++ b/.github/workflows/Process-PSModule.yml @@ -27,5 +27,5 @@ permissions: jobs: Process-PSModule: - uses: PSModule/Process-PSModule/.github/workflows/workflow.yml@205d193f34cbbaf9992955c21d842bcf98a1859f # v5.4.6 + uses: PSModule/Process-PSModule/.github/workflows/workflow.yml@da180bac16b13bfbcdf08b2e4e221b5b49e5ff28 # v6.1.4 secrets: inherit