Keep deferred configuration callbacks in script scope on PowerShell 5.1

This commit is contained in:
Shirofune-Security committed 2026-09-18 22:13:58 +09:00
1 parent 595f123327
commit 4c2193964e
3 files changed
+120 -41

No files matched your search

@@ -11,6 +11,12 @@ jobs:
runs-on: windows-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Actual script-scope helpers with disposable HKCU key in Windows PowerShell 5.1
shell: powershell
run: ./tests/Test-ConfigurationScriptScopeWindows.ps1
- name: Actual script-scope helpers with disposable HKCU key in PowerShell 7
shell: pwsh
run: ./tests/Test-ConfigurationScriptScopeWindows.ps1
- name: Mocked regressions in Windows PowerShell 5.1
shell: powershell
run: ./tests/Test-ConfigurationResults.ps1
@@ -35,3 +41,9 @@ jobs:
- name: Profile integration in PowerShell 7
shell: pwsh
run: ./tests/IntegrationProfileConfiguration.Tests.ps1
- name: Dry-run and NTLM race safety in Windows PowerShell 5.1
shell: powershell
run: ./tests/IntegrationSafety.Tests.ps1
- name: Dry-run and NTLM race safety in PowerShell 7
shell: pwsh
run: ./tests/IntegrationSafety.Tests.ps1