File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ name : Rust
3+
4+ " on " :
5+ push :
6+ branches : [master]
7+ pull_request :
8+ branches : [master]
9+
10+ env :
11+ CARGO_TERM_COLOR : always
12+
13+ jobs :
14+ basic-compilation :
15+ name : Compilation with no warnings
16+ runs-on : ubuntu-latest
17+ container :
18+ image : quay.io/keylime/keylime-ci:latest
19+ steps :
20+ - uses : actions/checkout@v5
21+ - name : Check compilation (no warnings)
22+ run : RUSTFLAGS="-D warnings" cargo build
23+ - name : Check test compilation (no warnings)
24+ run : RUSTFLAGS="-D warnings" cargo test
25+ - name : Check clippy errors (no warnings included)
26+ run : cargo clippy --all-features --all-targets -- -D clippy::all -D warnings
27+ - name : Check clippy test errors (no warnings included)
28+ run : cargo clippy --all-features --all-targets --tests -- -D clippy::all -D warnings
You can’t perform that action at this time.
0 commit comments