mirror of
https://github.com/Yamato-Security/WELA.git
synced 2026-10-02 20:44:42 +02:00
* Add reviewed existing-only updates for disabled WEC subscriptions * Pin loaded updater and flush locked recovery artifacts; reference PR 426 * Compare formatted WEC queries semantically before pinning raw native state * Read native WEC subscription XML with bounded explicit Unicode pipes * Use explicit Unicode reads for reviewed update and native cleanup * Keep timestamp strings exact in inherited native evidence fixtures * Reject XML-invalid descriptions before any native save * Decode native WEC XML BOMs without unsupported Unicode switch * Describe native XML byte decoding accurately * Reference System.Xml explicitly when compiling under Windows PowerShell
41 lines
1.3 KiB
YAML
41 lines
1.3 KiB
YAML
name: Reviewed disabled WEC subscription updates
|
|
on:
|
|
push:
|
|
branches: ['**']
|
|
pull_request:
|
|
workflow_dispatch:
|
|
permissions:
|
|
contents: read
|
|
jobs:
|
|
wec-update:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [windows-2022, windows-2025]
|
|
engine: [powershell, pwsh]
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
|
|
- name: Guard and failure fixtures in Windows PowerShell 5.1
|
|
if: matrix.engine == 'powershell'
|
|
shell: powershell
|
|
run: |
|
|
./tests/WecUpdate.Tests.ps1
|
|
./tests/WecUpdate.Cli.Tests.ps1
|
|
./tests/WecSubscriptionXml.Tests.ps1
|
|
- name: Actual disabled-subscription updates in Windows PowerShell 5.1
|
|
if: matrix.engine == 'powershell'
|
|
shell: powershell
|
|
run: ./tests/WecUpdate.Windows.Tests.ps1 -AllowDisposableSubscription
|
|
- name: Guard and failure fixtures in PowerShell 7
|
|
if: matrix.engine == 'pwsh'
|
|
shell: pwsh
|
|
run: |
|
|
./tests/WecUpdate.Tests.ps1
|
|
./tests/WecUpdate.Cli.Tests.ps1
|
|
./tests/WecSubscriptionXml.Tests.ps1
|
|
- name: Actual disabled-subscription updates in PowerShell 7
|
|
if: matrix.engine == 'pwsh'
|
|
shell: pwsh
|
|
run: ./tests/WecUpdate.Windows.Tests.ps1 -AllowDisposableSubscription
|