Commit bbf98c19 authored by nimrod's avatar nimrod
Browse files

Use GitLab CI template.

parent 356ce8e9
Loading
Loading
Loading
Loading
+3 −16
Original line number Diff line number Diff line
---
stages:
  - test

pre-commit:
  stage: test
  image: adarnimrod/ci-images:pre-commit
  variables:
    XDG_CACHE_HOME: "$CI_PROJECT_DIR/.cache"
    # Disabled until https://github.com/pre-commit/pre-commit/issues/1387 is
    # resolved.
    SKIP: "hadolint,docker-compose"
  script:
    - pre-commit run --all-files
  cache:
    paths:
      - .cache/
include:
  - project: shore/ci-templates
    file: templates/pre-commit.yml