mirror of
https://gitlab.freedesktop.org/dabrain34/GstPipelineStudio.git
synced 2024-11-15 13:21:37 +00:00
ci: create rustfmt-clippy
To save precious time, run clippy and fmt in the same run.
This commit is contained in:
parent
3a4a4e2bea
commit
9a16fb4912
1 changed files with 3 additions and 11 deletions
|
@ -47,7 +47,7 @@ build-fedora-container:
|
|||
FDO_DISTRIBUTION_EXEC: >-
|
||||
pip3 install meson
|
||||
|
||||
rustfmt:
|
||||
rustfmt-clippy:
|
||||
extends:
|
||||
- .fedora
|
||||
- .fdo.distribution-image@fedora
|
||||
|
@ -56,6 +56,8 @@ rustfmt:
|
|||
- meson build
|
||||
- cargo fmt --version
|
||||
- cargo fmt -- --color=always --check
|
||||
- cargo clippy --version
|
||||
- cargo clippy --color=always --all-targets -- -D warnings
|
||||
|
||||
test-stable:
|
||||
extends:
|
||||
|
@ -82,16 +84,6 @@ rustdoc:
|
|||
- rustdoc --version
|
||||
- cargo doc --no-deps
|
||||
|
||||
clippy:
|
||||
extends:
|
||||
- .fedora
|
||||
- .fdo.distribution-image@fedora
|
||||
stage: extras
|
||||
script:
|
||||
- meson build
|
||||
- cargo clippy --version
|
||||
- cargo clippy --color=always --all-targets -- -D warnings
|
||||
|
||||
flatpak:
|
||||
image: "registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:41"
|
||||
stage: test
|
||||
|
|
Loading…
Reference in a new issue