summaryrefslogtreecommitdiff
path: root/.gitlab/ci/yaml.gitlab-ci.yml
blob: b25ad55e0ce6d5b68ebf4203fcbe8b16a3d65749 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Yamllint of CI-related yaml.
# This uses rules from project root `.yamllint`.
lint-yaml:
  extends:
    - .default-retry
    - .yaml-lint:rules
  image: pipelinecomponents/yamllint:latest
  stage: test
  needs: []
  variables:
    LINT_PATHS: .gitlab-ci.yml .gitlab/ci lib/gitlab/ci/templates
  script:
    - yamllint -f colored $LINT_PATHS