GHA/checksrc: fix -z position, also use --output with xmllint

Fixing:
```
fatal: option '-z' must come before non-option arguments
```
Ref: https://github.com/curl/curl/actions/runs/20183280533/job/57948203944#step:4:5

Follow-up to b5ea0736bb #19946
Closes #19958
This commit is contained in:
Viktor Szakats
2025-12-13 12:35:36 +01:00
parent 28d27570fa
commit 23f9d629f5

View File

@@ -135,7 +135,7 @@ jobs:
persist-credentials: false
- name: 'check'
run: git grep -i -l -E '^<\?xml' -z | xargs -0 -r xmllint >/dev/null
run: git grep -z -i -l -E '^<\?xml' | xargs -0 -r xmllint --output /dev/null
miscchecks:
name: 'misc checks'