added formatting CI task

This commit is contained in:
Jack Hodgkinson 2022-02-09 14:52:44 +00:00
parent 51da0cf080
commit ed160faa50
3 changed files with 38 additions and 13 deletions

5
.github/format.sh vendored Normal file
View file

@ -0,0 +1,5 @@
#!/bin/bash
nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/refs/tags/21.05.tar.gz \
-p haskellPackages.fourmolu \
--run 'make format_check'