File tree 2 files changed +32
-4
lines changed
2 files changed +32
-4
lines changed Original file line number Diff line number Diff line change
1
+ name : Check HLint
2
+
3
+ on :
4
+ push :
5
+
6
+ jobs :
7
+ build :
8
+ runs-on : ubuntu-latest
9
+
10
+ defaults :
11
+ run :
12
+ shell : bash
13
+
14
+ steps :
15
+
16
+ - name : Install Nix
17
+ uses : cachix/install-nix-action@v18
18
+ with :
19
+ github_access_token : ${{ secrets.GITHUB_TOKEN }}
20
+ extra_nix_config : |
21
+ access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
22
+ experimental-features = nix-command flakes
23
+ allow-import-from-derivation = true
24
+ substituters = https://cache.nixos.org https://hydra.iohk.io
25
+ trusted-public-keys = iohk.cachix.org-1:DpRUyj7h7V830dp/i6Nti+NEO2/nhblbov/8MW7Rqoo= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
26
+
27
+ - uses : actions/checkout@v2
28
+
29
+ - name : Run hlint
30
+ run : |
31
+ nix build '.#checks/hlint'
Original file line number Diff line number Diff line change 197
197
) )
198
198
# checks run on default system only;
199
199
// ( optionalAttrs ( system == defaultSystem ) {
200
- hlint = pkgs . callPackage pkgs . hlintCheck {
201
- inherit ( project . args ) src ;
202
- } ;
203
- } ) ;
200
+ } ) ;
204
201
205
202
exes = ( collectExes project ) // {
206
203
inherit ( pkgs ) cabalProjectRegenerate checkCabalProject ;
You can’t perform that action at this time.
0 commit comments