mirror of
https://github.com/ostreedev/ostree.git
synced 2025-02-27 01:57:49 +03:00
Add fmt check, check, clippy
This commit is contained in:
parent
f1a7507ee4
commit
2c7761047a
@ -32,9 +32,16 @@ publish_ostree-sys:
|
||||
when: manual
|
||||
|
||||
# ostree
|
||||
ostree_fmt:
|
||||
stage
|
||||
cargo fmt --package ostree -- --check
|
||||
|
||||
ostree:
|
||||
stage: build
|
||||
script:
|
||||
- cargo fmt -- --check
|
||||
- cargo check ${CURRENT_FEATURES}
|
||||
- cargo clippy ${CURRENT_FEATURES}
|
||||
- cargo test --verbose ${CURRENT_FEATURES}
|
||||
cache:
|
||||
paths:
|
||||
|
@ -15,6 +15,7 @@ use glib::Error;
|
||||
|
||||
// code generated by gir
|
||||
#[allow(unused_imports)]
|
||||
#[cfg_attr(rustfmt, rustfmt_skip)]
|
||||
mod auto;
|
||||
pub use crate::auto::functions::*;
|
||||
pub use crate::auto::*;
|
||||
|
Loading…
x
Reference in New Issue
Block a user