---
pre-commit-repo:
  stage: test
  image: registry.shore.co.il/ci-images:pre-commit
  tags: [ns4.shore.co.il]
  variables:
    XDG_CACHE_HOME: "$CI_PROJECT_DIR/.cache"
  script:
    - pre-commit try-repo ./
  cache:
    paths:
      - .cache/
