diff --git a/.drone.yml b/.drone.yml index dcf1148..79568cf 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,6 +10,7 @@ trigger: environment: REGISTRY_HOST: https://git.roboces.dev DESTINATION_PREFIX: git.roboces.dev/catalin/halig + PRE_COMMIT_HOME: /drone/src/.cache/.pre-commit steps: - name: restore cache @@ -28,13 +29,11 @@ steps: path_style: true mount: - .venv - - .pre_commit_cache + - .cache/.pre-commit - 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 @@ -61,7 +60,7 @@ steps: region: us-east-1 mount: - .venv - - .pre_commit_cache + - .cache/.pre-commit when: status: - failure