zuul-jobs/roles/hlint/tasks/main.yaml
Tristan Cacqueray 2e82d88589 hlint: add haskell source code suggestions job
This change adds a new job to run hlint on haskell source files.

Change-Id: Ibf76c5552acecd68dfc56c4f31d8045ca5b233f1
2020-04-26 12:05:12 +00:00

17 lines
440 B
YAML

- block:
- name: Run hlint
command: "hlint --report={{ report_location }} ."
vars:
report_location: "{{ ansible_user_dir }}/zuul-output/logs/{{ hlint_report_name }}"
args:
chdir: "{{ zuul_work_dir }}"
always:
- name: Return report to Zuul
zuul_return:
data:
zuul:
artifacts:
- name: "HLint report"
url: "{{ hlint_report_name }}"