Commit 7026162c authored by Daniel Firth's avatar Daniel Firth
Browse files

Add style check to CI

parent b8d9c188
Pipeline #435 passed with stages
in 7 seconds
......@@ -2,7 +2,13 @@ stages:
- lint
- build
lint:
style:
stage: lint
script:
- find . -name ".hs" | xargs ormolu
- git status --porcelain
hlint:
stage: lint
script:
- hlint .
......@@ -10,4 +16,4 @@ lint:
build:
stage: build
script:
- stack --nix test
- stack --nix build --ghc-options "-Werror"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment