2e82d88589
This change adds a new job to run hlint on haskell source files. Change-Id: Ibf76c5552acecd68dfc56c4f31d8045ca5b233f1
17 lines
440 B
YAML
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 }}"
|