mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 12:30:09 +01:00
ci: use xargs instead of find -exec
This allows us to see failure when yamllint return non-zero. Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Signed-off-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18595>
This commit is contained in:
parent
0ca7f923c5
commit
cbaedd3e50
1 changed files with 1 additions and 1 deletions
|
|
@ -2,4 +2,4 @@
|
|||
set -e
|
||||
|
||||
# Run yamllint against all traces files.
|
||||
find . -name '*traces*yml' -exec yamllint -d "{rules: {line-length: {max: 150}}}" {} \;
|
||||
find . -name '*traces*yml' -print0 | xargs -0 yamllint -d "{rules: {line-length: {max: 150}}}"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue