From 654d62c79eb3078543fb6f7c2fc7341f31b7ed0f Mon Sep 17 00:00:00 2001 From: fukusuket <41001169+fukusuket@users.noreply.github.com> Date: Mon, 12 May 2025 19:41:28 +0900 Subject: [PATCH] test: add powershell core/destop case --- .github/workflows/check-audit.yml | 32 ++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check-audit.yml b/.github/workflows/check-audit.yml index cf5269db..850e3003 100644 --- a/.github/workflows/check-audit.yml +++ b/.github/workflows/check-audit.yml @@ -16,19 +16,49 @@ jobs: - name: Check PowerShell version run: | $PSVersionTable.PSVersion + shell: pwsh - name: Run WELA.ps1 audit-settings run: | ./WELA.ps1 audit-settings + shell: pwsh - name: Run WELA.ps1 audit-filesize run: | ./WELA.ps1 audit-filesize + shell: pwsh - name: Output UsableRules.csv run: | Get-Content UsableRules.csv + shell: pwsh - name: Output UnUsableRules.csv run: | - Get-Content UnusableRules.csv \ No newline at end of file + Get-Content UnusableRules.csv + shell: pwsh + + - name: Check PowerShell version + run: | + $PSVersionTable.PSVersion + shell: powershell + + - name: Run WELA.ps1 audit-settings + run: | + ./WELA.ps1 audit-settings + shell: powershell + + - name: Run WELA.ps1 audit-filesize + run: | + ./WELA.ps1 audit-filesize + shell: powershell + + - name: Output UsableRules.csv + run: | + Get-Content UsableRules.csv + shell: powershell + + - name: Output UnUsableRules.csv + run: | + Get-Content UnusableRules.csv + shell: powershell \ No newline at end of file