mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-29 23:11:01 +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:
|
rustfmt:
|
||||||
extends: .img-stable
|
extends: .img-stable
|
||||||
stage: "lint"
|
stage: "lint"
|
||||||
|
rules:
|
||||||
|
- when: 'always'
|
||||||
script:
|
script:
|
||||||
- cargo fmt --version
|
- cargo fmt --version
|
||||||
- cargo fmt -- --color=always --check
|
- cargo fmt -- --color=always --check
|
||||||
|
@ -158,6 +160,8 @@ rustfmt:
|
||||||
clippy:
|
clippy:
|
||||||
extends: .img-stable
|
extends: .img-stable
|
||||||
stage: 'extras'
|
stage: 'extras'
|
||||||
|
rules:
|
||||||
|
- when: 'always'
|
||||||
script:
|
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
|
- 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