File tree Expand file tree Collapse file tree 1 file changed +21
-13
lines changed Expand file tree Collapse file tree 1 file changed +21
-13
lines changed Original file line number Diff line number Diff line change @@ -146,24 +146,32 @@ jobs:
146
146
- name : Run hlint
147
147
run : curl -sSL https://raw.github.com/ndmitchell/hlint/master/misc/run.sh | sh -s kore -j
148
148
149
- stylish-haskell :
150
- name : ' stylish-haskell '
149
+ fourmolu :
150
+ name : ' Style '
151
151
runs-on : ubuntu-latest
152
152
steps :
153
- - name : Install stylish-haskell
154
- run : |
155
- cd $(mktemp -d)
156
- wget https://github.com/jaspervdj/stylish-haskell/releases/download/v0.11.0.0/stylish-haskell-v0.11.0.0-linux-x86_64.tar.gz
157
- tar xaf stylish-haskell-v0.11.0.0-linux-x86_64.tar.gz
158
- sudo mv stylish-haskell-v0.11.0.0-linux-x86_64/stylish-haskell /usr/local/bin/
159
- stylish-haskell --version
160
-
161
-
153
+ - name : Check out code
154
+
162
155
with :
163
156
submodules : recursive
164
157
165
- - name : Format with stylish-haskell
166
- run : stylish-haskell -i -r kore
158
+ - name : Install Nix
159
+ uses : cachix/install-nix-action@v12
160
+ with :
161
+ extra_nix_config : |
162
+ substituters = http://cache.nixos.org https://hydra.iohk.io
163
+ trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=
164
+
165
+ - name : Install Cachix
166
+ uses : cachix/cachix-action@v8
167
+ with :
168
+ name : kore
169
+ signingKey : ' ${{ secrets.KORE_CACHIX_SIGNING_KEY }}'
170
+ skipPush : true
171
+
172
+ - name : Format
173
+ run : |
174
+ ./nix/fourmolu.sh
167
175
168
176
- name : Check for changes
169
177
run : |
You can’t perform that action at this time.
0 commit comments