From cfff9357dec56515310b921a99abe2c2c903a955 Mon Sep 17 00:00:00 2001 From: kleph Date: Tue, 15 Sep 2020 19:32:16 +0200 Subject: [PATCH] [CI] Add YAML lint --- .drone.yml | 5 +++++ .yamllint | 9 +++++++++ 2 files changed, 14 insertions(+) create mode 100644 .yamllint diff --git a/.drone.yml b/.drone.yml index 4a51984..ce88c14 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,6 +3,11 @@ kind: pipeline name: latex steps: +- name: yaml lint + image: cytopia/yamllint + commands: + - yamllint .drone.yml + - name: build image: niccokunzmann/ci-latex commands: diff --git a/.yamllint b/.yamllint new file mode 100644 index 0000000..35c26b0 --- /dev/null +++ b/.yamllint @@ -0,0 +1,9 @@ +--- +extends: default + +rules: + indentation: + indent-sequences: consistent + line-length: + max: 120 + level: warning