mirror of
https://gitlab.com/gabmus/envision.git
synced 2025-08-01 21:58:43 +00:00
chore: clippy in ci
This commit is contained in:
parent
8907767135
commit
f1e04fe5c0
1 changed files with 12 additions and 0 deletions
|
@ -17,6 +17,18 @@ cargo:fmtcheck:
|
||||||
- cargo fmt --version
|
- cargo fmt --version
|
||||||
- cargo fmt --all -- --check
|
- cargo fmt --all -- --check
|
||||||
|
|
||||||
|
cargo:clippy:
|
||||||
|
image: "rust:slim"
|
||||||
|
stage: check
|
||||||
|
variables:
|
||||||
|
RUSTFLAGS: "-Dwarnings"
|
||||||
|
script:
|
||||||
|
- cp src/constants.rs.in src/constants.rs
|
||||||
|
- rustup component add clippy
|
||||||
|
- rustc -Vv && cargo -Vv
|
||||||
|
- cargo clippy --version
|
||||||
|
- cargo clippy --all-targets --all-features
|
||||||
|
|
||||||
cargo:test:
|
cargo:test:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue