Added per-step when clause
parent
d9d4e66ee5
commit
167a1ff3ed
|
@ -1,13 +1,15 @@
|
||||||
|
# When block for each step is temporary until top-level when is properly implemented
|
||||||
pipeline:
|
pipeline:
|
||||||
clippy:
|
clippy:
|
||||||
image: 'rust:1.57'
|
image: 'rust:1.57'
|
||||||
commands:
|
commands:
|
||||||
- cargo clippy -- -D clippy::all --no-deps
|
- cargo clippy -- -D clippy::all --no-deps
|
||||||
|
when:
|
||||||
|
event: pull_request
|
||||||
|
|
||||||
tests:
|
tests:
|
||||||
image: 'rust:1.57'
|
image: 'rust:1.57'
|
||||||
commands:
|
commands:
|
||||||
- cargo test
|
- cargo test
|
||||||
|
when:
|
||||||
when:
|
event: pull_request
|
||||||
event: pull_request
|
|
||||||
|
|
Reference in New Issue