---
# yamllint is a generic linter for yaml
# https://github.com/adrienverge/yamllint

yaml:yamllint:
  stage: test
  image: registry.gitlab.com/just-ci/images/python:slim
  variables:
    EXTRA_ARGS: ""
  script:
    - yamllint ${EXTRA_ARGS} .
  rules:
    - exists:
        - "**/*.yml"
        - "**/*.yaml"
