ci/rustfmt: simplify getting all the rust files
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21884>
This commit is contained in:
committed by
Marge Bot
parent
488d5c6fa6
commit
6c2d177896
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user