You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
302 B
YAML
22 lines
302 B
YAML
3 years ago
|
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
|
||
|
|
||
|
audit-code:
|
||
|
stage: test
|
||
|
script:
|
||
|
- cargo install cargo-audit
|
||
|
- cargo audit
|