Add fmt check, check, clippy

This commit is contained in:
Felix Krull authored and Colin Walters committed 2022-05-06 12:53:54 -04:00
1 parent f1a7507ee4
commit 2c7761047a
2 files changed
+8

No files matched your search

+7
View File
@@ -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:
+1
View File
@@ -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::*;