diff --git a/.github/workflows/Process-PSModule.yml b/.github/workflows/Process-PSModule.yml index 67f2c25..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@11117919e65242d3388727819a751f74ad24ea9e # v5.5.0 + uses: PSModule/Process-PSModule/.github/workflows/workflow.yml@da180bac16b13bfbcdf08b2e4e221b5b49e5ff28 # v6.1.4 secrets: inherit diff --git a/tests/Admin.Tests.ps1 b/tests/Admin.Tests.ps1 index 6520e96..d240126 100644 --- a/tests/Admin.Tests.ps1 +++ b/tests/Admin.Tests.ps1 @@ -1,4 +1,6 @@ -Describe 'Admin' { +#Requires -Modules @{ ModuleName = 'Pester'; ModuleVersion = '6.0.0'; MaximumVersion = '6.*' } + +Describe 'Admin' { Context 'Function: Test-Admin' { It 'Should not throw' { { Test-Admin } | Should -Not -Throw