debian-mirror-gitlab/.gitlab/ci/yaml.gitlab-ci.yml

14 lines
343 B
YAML
Raw Normal View History

2021-11-11 11:23:49 +05:30
# Yamllint of CI-related yaml.
2019-09-04 21:01:54 +05:30
# This uses rules from project root `.yamllint`.
2021-01-29 00:20:46 +05:30
lint-yaml:
2019-12-04 20:38:33 +05:30
extends:
- .default-retry
2021-01-29 00:20:46 +05:30
- .yaml-lint:rules
2020-07-28 23:09:34 +05:30
image: pipelinecomponents/yamllint:latest
2021-12-11 22:18:48 +05:30
stage: lint
2020-04-08 14:13:33 +05:30
needs: []
2020-03-13 15:44:24 +05:30
variables:
2021-11-11 11:23:49 +05:30
LINT_PATHS: .gitlab-ci.yml .gitlab/ci lib/gitlab/ci/templates
2019-09-04 21:01:54 +05:30
script:
2020-07-28 23:09:34 +05:30
- yamllint -f colored $LINT_PATHS