Add volume for cargo registry
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
53bd7c6679
commit
a073579386
10
.drone.yml
10
.drone.yml
@ -4,6 +4,14 @@ name: default
|
|||||||
steps:
|
steps:
|
||||||
- name: test
|
- name: test
|
||||||
image: rustlang/rust:nightly
|
image: rustlang/rust:nightly
|
||||||
|
volumes:
|
||||||
|
- name: cargo-registry
|
||||||
|
path: /usr/local/cargo/registry
|
||||||
commands:
|
commands:
|
||||||
- cargo build --verbose --all
|
- cargo build --verbose --all
|
||||||
- cargo test --verbose --all
|
- cargo test --verbose --all
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: cache
|
||||||
|
host:
|
||||||
|
path: /var/lib/drone/sprinklers_rs/cargo-registry
|
Loading…
x
Reference in New Issue
Block a user