mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-06 18:52:07 +00:00
ci: run rustfmt job only for changes in Rust code
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7325>
This commit is contained in:
parent
dcd11f0a10
commit
7135dd19fd
1 changed files with 10 additions and 0 deletions
|
@ -262,6 +262,16 @@ rustfmt:
|
|||
- export RUSTUP_HOME="/usr/local/rustup"
|
||||
- export PATH="/usr/local/cargo/bin:$PATH"
|
||||
- ./scripts/format-rust --check
|
||||
rules:
|
||||
- changes:
|
||||
compare_to: "$GST_UPSTREAM_BRANCH"
|
||||
paths:
|
||||
- .gitlab-ci.yml
|
||||
- .gitlab-image-tags.yml
|
||||
- subprojects/gstreamer/**/*.rs
|
||||
- subprojects/gst-examples/**/*.rs
|
||||
- ci/**/*
|
||||
- ./scripts/format-rust
|
||||
|
||||
commitlint:
|
||||
extends:
|
||||
|
|
Loading…
Reference in a new issue