From 91ba7e6f5897356c8538a089756fa8eb16fe5df4 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Tue, 7 Jul 2026 17:45:08 +0200 Subject: [PATCH 1/3] Require Pester 6.x in test files --- tests/DynamicParams.Tests.ps1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/DynamicParams.Tests.ps1 b/tests/DynamicParams.Tests.ps1 index 0b56df5..f54a451 100644 --- a/tests/DynamicParams.Tests.ps1 +++ b/tests/DynamicParams.Tests.ps1 @@ -1,4 +1,6 @@ -Describe 'DynamicParams' { +#Requires -Modules @{ ModuleName = 'Pester'; ModuleVersion = '6.0.0'; MaximumVersion = '6.*'; GUID = 'a699dea5-2c73-4616-a270-1f7abb777e71' } + +Describe 'DynamicParams' { Context 'Function: New-DynamicParamDictionary' { It 'New-DynamicParamDictionary should not throw an exception' { { New-DynamicParamDictionary } | Should -Not -Throw From ffdc94d8268cdb08d7c6baa1a418532ef6a8b1b1 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Tue, 7 Jul 2026 21:11:18 +0200 Subject: [PATCH 2/3] 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/DynamicParams.Tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/DynamicParams.Tests.ps1 b/tests/DynamicParams.Tests.ps1 index f54a451..4a28a29 100644 --- a/tests/DynamicParams.Tests.ps1 +++ b/tests/DynamicParams.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 'DynamicParams' { Context 'Function: New-DynamicParamDictionary' { From 868027f6a768e4d4fabbc85359eb9e256f3bb0d6 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sun, 12 Jul 2026 11:54:47 +0200 Subject: [PATCH 3/3] 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