23 lines
313 B
YAML
23 lines
313 B
YAML
|
image: "estusdev/rust-ci"
|
||
|
|
||
|
default:
|
||
|
before_script:
|
||
|
- rustc --version && cargo --version
|
||
|
|
||
|
stages:
|
||
|
- test
|
||
|
|
||
|
test-code:
|
||
|
stage: test
|
||
|
script:
|
||
|
- cargo test --verbose
|
||
|
|
||
|
lint-code:
|
||
|
stage: test
|
||
|
script:
|
||
|
- cargo clippy -- -D warnings
|
||
|
|
||
|
format-code:
|
||
|
stage: test
|
||
|
script:
|
||
|
- cargo fmt -- --check
|