|
@ -9,23 +9,14 @@ concurrency: |
|
|
steps: |
|
|
steps: |
|
|
- name: build |
|
|
- name: build |
|
|
image: rustlang/rust:nightly |
|
|
image: rustlang/rust:nightly |
|
|
volumes: |
|
|
|
|
|
- name: cache |
|
|
|
|
|
path: /usr/local/cargo |
|
|
|
|
|
commands: |
|
|
commands: |
|
|
- cargo build |
|
|
- cargo build |
|
|
- name: clippy! |
|
|
- name: clippy! |
|
|
image: rustlang/rust:nightly |
|
|
image: rustlang/rust:nightly |
|
|
volumes: |
|
|
|
|
|
- name: cache |
|
|
|
|
|
path: /usr/local/cargo |
|
|
|
|
|
commands: |
|
|
commands: |
|
|
- cargo clippy -- --deny warnings |
|
|
- cargo clippy -- --deny warnings |
|
|
- name: test |
|
|
- name: test |
|
|
image: rustlang/rust:nightly |
|
|
image: rustlang/rust:nightly |
|
|
volumes: |
|
|
|
|
|
- name: cache |
|
|
|
|
|
path: /usr/local/cargo |
|
|
|
|
|
commands: |
|
|
commands: |
|
|
- cargo test --jobs 1 |
|
|
- cargo test --jobs 1 |
|
|
|
|
|
|
|
|