mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-26 05:21:00 +00:00
ci: always run the clippy and rustfmt jobs
Unless they are explicitly marked, they won't run on detached pipelines by default
This commit is contained in:
parent
3d2792a1c3
commit
896bda12f9
1 changed files with 4 additions and 0 deletions
|
@ -151,6 +151,8 @@ test nightly:
|
|||
rustfmt:
|
||||
extends: .img-stable
|
||||
stage: "lint"
|
||||
rules:
|
||||
- when: 'always'
|
||||
script:
|
||||
- cargo fmt --version
|
||||
- cargo fmt -- --color=always --check
|
||||
|
@ -158,6 +160,8 @@ rustfmt:
|
|||
clippy:
|
||||
extends: .img-stable
|
||||
stage: 'extras'
|
||||
rules:
|
||||
- when: 'always'
|
||||
script:
|
||||
- cargo clippy --color=always --all --all-features --all-targets -- -A clippy::redundant_pattern_matching -A clippy::single_match -A clippy::cast_lossless -D warnings
|
||||
|
||||
|
|
Loading…
Reference in a new issue