--- image: adarnimrod/ci-images:docker stages: - test pre-commit: stage: test image: adarnimrod/ci-images:pre-commit variables: XDG_CACHE_HOME: "$CI_PROJECT_DIR/.cache" script: - pre-commit run --all-files cache: paths: - .cache/