Added ci config
ci/woodpecker/push/rustfmt Pipeline failed Details
ci/woodpecker/push/test Pipeline was successful Details

dev
Jef Roosens 2022-01-02 20:47:31 +01:00
parent da477295f5
commit 5947ddb91c
Signed by: Jef Roosens
GPG Key ID: B580B976584B5F30
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