diff --git a/.github/workflows/Process-PSModule.yml b/.github/workflows/Process-PSModule.yml index dceb2e0..23b436c 100644 --- a/.github/workflows/Process-PSModule.yml +++ b/.github/workflows/Process-PSModule.yml @@ -27,6 +27,6 @@ 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: APIKEY: ${{ secrets.APIKEY }} diff --git a/tests/ElvUI.Tests.ps1 b/tests/ElvUI.Tests.ps1 index ad9ca3f..31870e4 100644 --- a/tests/ElvUI.Tests.ps1 +++ b/tests/ElvUI.Tests.ps1 @@ -1,4 +1,6 @@ -[Diagnostics.CodeAnalysis.SuppressMessageAttribute( +#Requires -Modules @{ ModuleName = 'Pester'; ModuleVersion = '6.0.0'; MaximumVersion = '6.*' } + +[Diagnostics.CodeAnalysis.SuppressMessageAttribute( 'PSReviewUnusedParameter', '', Justification = 'Required for Pester tests' )] diff --git a/tests/Install-ElvUI.Tests.ps1 b/tests/Install-ElvUI.Tests.ps1 index 79458f1..e60e8e7 100644 --- a/tests/Install-ElvUI.Tests.ps1 +++ b/tests/Install-ElvUI.Tests.ps1 @@ -1,4 +1,6 @@ -[Diagnostics.CodeAnalysis.SuppressMessageAttribute( +#Requires -Modules @{ ModuleName = 'Pester'; ModuleVersion = '6.0.0'; MaximumVersion = '6.*' } + +[Diagnostics.CodeAnalysis.SuppressMessageAttribute( 'PSReviewUnusedParameter', '', Justification = 'Required for Pester tests' )] diff --git a/tests/Update-ElvUI.Tests.ps1 b/tests/Update-ElvUI.Tests.ps1 index 8c9b00b..e006ac5 100644 --- a/tests/Update-ElvUI.Tests.ps1 +++ b/tests/Update-ElvUI.Tests.ps1 @@ -1,4 +1,6 @@ -[Diagnostics.CodeAnalysis.SuppressMessageAttribute( +#Requires -Modules @{ ModuleName = 'Pester'; ModuleVersion = '6.0.0'; MaximumVersion = '6.*' } + +[Diagnostics.CodeAnalysis.SuppressMessageAttribute( 'PSReviewUnusedParameter', '', Justification = 'Required for Pester tests' )]