Add fmt check, check, clippy
This commit is contained in:
parent
f1a7507ee4
commit
2c7761047a
|
|
@ -32,9 +32,16 @@ publish_ostree-sys:
|
||||||
when: manual
|
when: manual
|
||||||
|
|
||||||
# ostree
|
# ostree
|
||||||
|
ostree_fmt:
|
||||||
|
stage
|
||||||
|
cargo fmt --package ostree -- --check
|
||||||
|
|
||||||
ostree:
|
ostree:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
|
- cargo fmt -- --check
|
||||||
|
- cargo check ${CURRENT_FEATURES}
|
||||||
|
- cargo clippy ${CURRENT_FEATURES}
|
||||||
- cargo test --verbose ${CURRENT_FEATURES}
|
- cargo test --verbose ${CURRENT_FEATURES}
|
||||||
cache:
|
cache:
|
||||||
paths:
|
paths:
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@ use glib::Error;
|
||||||
|
|
||||||
// code generated by gir
|
// code generated by gir
|
||||||
#[allow(unused_imports)]
|
#[allow(unused_imports)]
|
||||||
|
#[cfg_attr(rustfmt, rustfmt_skip)]
|
||||||
mod auto;
|
mod auto;
|
||||||
pub use crate::auto::functions::*;
|
pub use crate::auto::functions::*;
|
||||||
pub use crate::auto::*;
|
pub use crate::auto::*;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue