2e82d88589
This change adds a new job to run hlint on haskell source files. Change-Id: Ibf76c5552acecd68dfc56c4f31d8045ca5b233f1
12 lines
221 B
YAML
12 lines
221 B
YAML
- name: Check hlint version
|
|
command: hlint --version
|
|
failed_when: false
|
|
register: _hlint_version
|
|
|
|
- name: Install hlint
|
|
package:
|
|
name: "hlint"
|
|
state: present
|
|
become: yes
|
|
when: "_hlint_version.rc != 0"
|