From e95557c3b1b333169c851ba904078ccf8dd80d81 Mon Sep 17 00:00:00 2001 From: fukusuket <41001169+fukusuket@users.noreply.github.com> Date: Mon, 12 May 2025 19:43:25 +0900 Subject: [PATCH] test: add powershell core/destop case --- .github/workflows/check-audit.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/check-audit.yml b/.github/workflows/check-audit.yml index 850e3003..830c213a 100644 --- a/.github/workflows/check-audit.yml +++ b/.github/workflows/check-audit.yml @@ -13,52 +13,52 @@ jobs: runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - - name: Check PowerShell version + - name: Check PowerShell version(PowerShell core) run: | $PSVersionTable.PSVersion shell: pwsh - - name: Run WELA.ps1 audit-settings + - name: Run WELA.ps1 audit-settings(PowerShell core) run: | ./WELA.ps1 audit-settings shell: pwsh - - name: Run WELA.ps1 audit-filesize + - name: Run WELA.ps1 audit-filesize(PowerShell core) run: | ./WELA.ps1 audit-filesize shell: pwsh - - name: Output UsableRules.csv + - name: Output UsableRules.csv(PowerShell core) run: | Get-Content UsableRules.csv shell: pwsh - - name: Output UnUsableRules.csv + - name: Output UnUsableRules.csv(PowerShell core) run: | Get-Content UnusableRules.csv shell: pwsh - - name: Check PowerShell version + - name: Check PowerShell version(PowerShell 5.1) run: | $PSVersionTable.PSVersion shell: powershell - - name: Run WELA.ps1 audit-settings + - name: Run WELA.ps1 audit-settings(PowerShell 5.1) run: | ./WELA.ps1 audit-settings shell: powershell - - name: Run WELA.ps1 audit-filesize + - name: Run WELA.ps1 audit-filesize(PowerShell 5.1) run: | ./WELA.ps1 audit-filesize shell: powershell - - name: Output UsableRules.csv + - name: Output UsableRules.csv(PowerShell 5.1) run: | Get-Content UsableRules.csv shell: powershell - - name: Output UnUsableRules.csv + - name: Output UnUsableRules.csv(PowerShell 5.1) run: | Get-Content UnusableRules.csv shell: powershell \ No newline at end of file