Skip to content
This repository has been archived by the owner on Aug 28, 2022. It is now read-only.

Latest commit

 

History

History
33 lines (24 loc) · 912 Bytes

README.md

File metadata and controls

33 lines (24 loc) · 912 Bytes

HLint action

⚠️ This action is not maintained anymore. You should use haskell/actions/hlint-run instead.

This is a GitHub Action that checks to make sure that Haskell files are properly linted with HLint.

Example

on: push
jobs:
  hlint:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: tfausak/hlint-action@v1

Options

  • config: Optional. Defaults to .hlint.yaml. The HLint config file to use. If this file does not exist, no error will be thrown.

  • pattern: Optional. Defaults to **/*.hs. The Haskell files to lint. If no files are found, the action will succeed.

  • version: Optional. Defaults to latest. The version of HLint to use. Supports these versions: https://github.com/ndmitchell/hlint/releases.