parent
d98321fe7b
commit
8ca5539450
@ -1,27 +0,0 @@
|
|||||||
image: "rust:latest"
|
|
||||||
|
|
||||||
default:
|
|
||||||
before_script:
|
|
||||||
- rustc --version
|
|
||||||
- cargo --version
|
|
||||||
|
|
||||||
stages:
|
|
||||||
- test
|
|
||||||
|
|
||||||
lint-code:
|
|
||||||
stage: test
|
|
||||||
script:
|
|
||||||
- rustup component add clippy
|
|
||||||
- cargo clippy -- -D warnings
|
|
||||||
|
|
||||||
format-code:
|
|
||||||
stage: test
|
|
||||||
script:
|
|
||||||
- rustup component add rustfmt
|
|
||||||
- cargo fmt -- --check
|
|
||||||
|
|
||||||
audit-code:
|
|
||||||
stage: test
|
|
||||||
script:
|
|
||||||
- cargo install cargo-audit
|
|
||||||
- cargo audit
|
|
Loading…
Reference in New Issue