ci/rustfmt: simplify getting all the rust files

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21884>
This commit is contained in:
Eric Engestrom
2023-03-13 19:32:29 +00:00
committed by Marge Bot
parent 488d5c6fa6
commit 6c2d177896
+2 -1
View File
@@ -27,7 +27,8 @@ rustfmt:
variables:
GIT_STRATEGY: fetch
script:
- git ls-files */{lib,app}.rs | xargs rustfmt --check
- shopt -s globstar
- rustfmt --check src/**/*.rs
.test-gl:
extends: