Added ci config
parent
da477295f5
commit
5947ddb91c
|
@ -0,0 +1,5 @@
|
||||||
|
pipeline:
|
||||||
|
lint:
|
||||||
|
image: 'rustlang/rust:nightly'
|
||||||
|
commands:
|
||||||
|
- cargo fmt -- --check
|
|
@ -0,0 +1,15 @@
|
||||||
|
# When block for each step is temporary until top-level when is properly implemented
|
||||||
|
pipeline:
|
||||||
|
clippy:
|
||||||
|
image: 'rust:1.57'
|
||||||
|
commands:
|
||||||
|
- cargo clippy -- -D clippy::all --no-deps
|
||||||
|
when:
|
||||||
|
event: pull_request
|
||||||
|
|
||||||
|
tests:
|
||||||
|
image: 'rust:1.57'
|
||||||
|
commands:
|
||||||
|
- cargo test
|
||||||
|
when:
|
||||||
|
event: pull_request
|
Loading…
Reference in New Issue