zuul-jobs/roles/ensure-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

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"