Skip to content

Add hlint warning

Add hlint warning #10

Workflow file for this run

name: CI (Stack)
on: [push, pull_request]
jobs:
# test_with_stack:
# name: Testing with Stack-${{ matrix.stack }}, on ${{ matrix.os }}
# runs-on: ${{ matrix.os }}
# strategy:
# matrix:
# os: [ubuntu-latest]
# stack: ["2.9.3"]
# steps:
# - uses: actions/checkout@v2
# - uses: actions/[email protected]
# with:
# ghc-version: ${{ matrix.ghc }}
# stack-version: ${{ matrix.stack }}
# - name: Cache (Unix platform)
# uses: actions/cache@v2
# with:
# path: ~/.stack
# key: stack-cache-${{ runner.os }}-${{ hashFiles('stack.yaml.lock') }}-${{ hashFiles('stack.yaml') }}
# restore-keys: |
# stack-cache-${{ runner.os }}-${{ hashFiles('stack.yaml.lock') }}
# stack-cache-${{ runner.os }}
# - name: Install dependencies
# run: |
# stack update
# stack build --system-ghc --only-dependencies --test --bench --no-run-tests --no-run-benchmarks
# - name: Build
# run: stack build --system-ghc --test --bench --no-run-tests --no-run-benchmarks
# - name: Run tests
# run: stack test
hlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: "Set up HLint"
uses: haskell-actions/hlint-setup@v2
- name: "Run HLint"
uses: haskell-actions/hlint-run@v2
with:
path: .
fail-on: warning