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 diff --git a/tests/Casing.Tests.ps1 b/tests/Casing.Tests.ps1 index 29c6498..46e90df 100644 --- a/tests/Casing.Tests.ps1 +++ b/tests/Casing.Tests.ps1 @@ -1,4 +1,6 @@ -Describe 'CasingStyle' { +#Requires -Modules @{ ModuleName = 'Pester'; ModuleVersion = '6.0.0'; MaximumVersion = '6.*' } + +Describe 'CasingStyle' { Context 'Function: Get-CasingStyle' { It "Get-CasingStyle: Detects 'testtesttest' as lowercase" { 'testtesttest' | Get-CasingStyle | Should -Be 'lowercase' diff --git a/tests/UseCases.Tests.ps1 b/tests/UseCases.Tests.ps1 index 3567f28..0d47fff 100644 --- a/tests/UseCases.Tests.ps1 +++ b/tests/UseCases.Tests.ps1 @@ -1,4 +1,6 @@ -#-------------------------------------------------------------------- +#Requires -Modules @{ ModuleName = 'Pester'; ModuleVersion = '6.0.0'; MaximumVersion = '6.*' } + +#-------------------------------------------------------------------- # Test Get-CasingStyle: verify that known inputs are detected correctly, # and that ambiguous strings return 'Unknown' #--------------------------------------------------------------------