Run configuration checks with explicit PowerShell shells

This commit is contained in:
Shirofune-Security committed 2026-09-18 21:49:46 +09:00
1 parent 1ae4930438
commit 36c4b4018f
1 file changed
+10 -7
+10 -7
View File
@@ -9,14 +9,17 @@ permissions:
jobs:
configuration-results:
runs-on: windows-latest
strategy:
matrix:
shell: [powershell, pwsh]
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Mocked regression tests (no Windows configuration changes)
shell: ${{ matrix.shell }}
- name: Mocked regressions in Windows PowerShell 5.1
shell: powershell
run: ./tests/Test-ConfigurationResults.ps1
- name: Real Windows read-only smoke tests
shell: ${{ matrix.shell }}
- name: Read-only Windows smoke in Windows PowerShell 5.1
shell: powershell
run: ./tests/Test-ConfigurationReadOnlyWindows.ps1
- name: Mocked regressions in PowerShell 7
shell: pwsh
run: ./tests/Test-ConfigurationResults.ps1
- name: Read-only Windows smoke in PowerShell 7
shell: pwsh
run: ./tests/Test-ConfigurationReadOnlyWindows.ps1