perf: resource updater validator in native powershell (#10493)

* perf: native pwsh resourceupdatevalidator

* chore: pwsh implementation in workflow

* style: ps1 formatting

* style: remove log warning

* style: more log styling output

* style: too many lines lol

* style: log end output format new line instead of json
for readibility
This commit is contained in:
Constrat
2024-09-06 09:11:27 +01:00
committed by GitHub
parent 9b92283954
commit 1293504c64
2 changed files with 109 additions and 6 deletions

View File

@@ -178,14 +178,9 @@ jobs:
with:
args: -w ${{ steps.task_sorting.outputs.gitdiff }}
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*
check-latest: true
- name: Check if only sorted and Templates
id: check_sorted_templates
run: node tools/ResourceUpdateValidator/index.mjs
run: pwsh tools/ResourceUpdateValidator/script.ps1
- name: Setup python
if: steps.check_sorted_templates.outputs.contains_png == 'True'