File tree 3 files changed +31
-6
lines changed
3 files changed +31
-6
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 @@ -11,11 +11,6 @@ final: prev: with final; {
11
11
12
12
cabal = haskell-nix . cabal-install . ${ compiler-nix-name } ;
13
13
14
- hlint = haskell-nix . tool compiler-nix-name "hlint" {
15
- version = "3.2.7" ;
16
- index-state = "2022-12-11T00:00:00Z" ;
17
- } ;
18
-
19
14
ghcid = haskell-nix . tool compiler-nix-name "ghcid" {
20
15
version = "0.8.7" ;
21
16
index-state = "2022-12-11T00:00:00Z" ;
Original file line number Diff line number Diff line change @@ -101,7 +101,6 @@ in project.shellFor {
101
101
sqlite-interactive
102
102
tmux
103
103
pkgs . git
104
- pkgs . hlint
105
104
pkgs . moreutils
106
105
pkgs . pstree
107
106
pkgs . time
You can’t perform that action at this time.
0 commit comments