Added CI configuration

dev
Jef Roosens 2022-01-03 12:46:29 +01:00
parent 508741be81
commit ca9d44e7db
Signed by: Jef Roosens
GPG Key ID: 955C0660072F691F
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,5 @@
pipeline:
lint:
image: 'rustlang/rust:nightly'
commands:
- cargo fmt -- --check

View File

@ -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