mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-20 14:20:36 +02:00
ci/rustfmt: make sure to only check each file once
rustfmt has some magic that follows files (I'm guessing), making files get checked multiple times with `*.rs`, so let's limit ourselves to `lib.rs`. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22321>
This commit is contained in:
parent
36fd2bbd98
commit
1a9727a81e
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ rustfmt:
|
|||
GIT_STRATEGY: fetch
|
||||
script:
|
||||
- shopt -s globstar
|
||||
- rustfmt --check --verbose src/**/*.rs
|
||||
- rustfmt --check --verbose src/**/lib.rs
|
||||
|
||||
clang-format:
|
||||
# Cancel job if a newer commit is pushed to the same branch
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue