mirror of
https://github.com/Yamato-Security/WELA.git
synced 2025-12-06 09:12:46 +01:00
test: add powershell core/destop case
This commit is contained in:
32
.github/workflows/check-audit.yml
vendored
32
.github/workflows/check-audit.yml
vendored
@@ -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
|
||||
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
|
||||
Reference in New Issue
Block a user