diff --git a/.drone.yml b/.drone.yml index 79ca3a0..dcf1148 100644 --- a/.drone.yml +++ b/.drone.yml @@ -28,10 +28,13 @@ steps: path_style: true mount: - .venv + - .pre_commit_cache - name: install dependencies pull: true image: git.roboces.dev/catalin/poetry:beta + environment: + PRE_COMMIT_CACHE: /src/drone/.pre_commit_cache commands: - poetry config virtualenvs.in-project 1 - poetry install --with linters @@ -58,6 +61,7 @@ steps: region: us-east-1 mount: - .venv + - .pre_commit_cache when: status: - failure