From a073579386be7253bd52616cb48a959a289d5804 Mon Sep 17 00:00:00 2001 From: Alex Mikhalev Date: Tue, 18 Aug 2020 10:12:29 -0600 Subject: [PATCH] Add volume for cargo registry --- .drone.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index d7a2c8c..9d64d6d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4,6 +4,14 @@ name: default steps: - name: test image: rustlang/rust:nightly + volumes: + - name: cargo-registry + path: /usr/local/cargo/registry commands: - cargo build --verbose --all - - cargo test --verbose --all \ No newline at end of file + - cargo test --verbose --all + +volumes: +- name: cache + host: + path: /var/lib/drone/sprinklers_rs/cargo-registry \ No newline at end of file