Added per-step when clause

dev
Jef Roosens 2022-01-02 20:42:34 +01:00
parent d9d4e66ee5
commit 167a1ff3ed
Signed by: Jef Roosens
GPG Key ID: B580B976584B5F30
1 changed files with 5 additions and 3 deletions

View File

@ -1,13 +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