13 lines
352 B
YAML
13 lines
352 B
YAML
# 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: lint
|
|
needs: []
|
|
variables:
|
|
LINT_PATHS: .gitlab-ci.yml .gitlab/ci lib/gitlab/ci/templates
|
|
script:
|
|
- yamllint --strict -f colored $LINT_PATHS
|