projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36fd2bb
)
ci/rustfmt: make sure to only check each file once
author
Eric Engestrom
<eric@igalia.com>
Wed, 5 Apr 2023 18:04:10 +0000
(19:04 +0100)
committer
Marge Bot
<emma+marge@anholt.net>
Thu, 13 Apr 2023 05:56:53 +0000
(
05:56
+0000)
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>
.gitlab-ci/test/gitlab-ci.yml
patch
|
blob
|
history
diff --git
a/.gitlab-ci/test/gitlab-ci.yml
b/.gitlab-ci/test/gitlab-ci.yml
index
9aea05f
..
21cbdf4
100644
(file)
--- a/
.gitlab-ci/test/gitlab-ci.yml
+++ b/
.gitlab-ci/test/gitlab-ci.yml
@@
-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