Skip to content

Commit aafb833

Browse files
committed
Remove hlint from nix CI
1 parent cf7c3f7 commit aafb833

File tree

2 files changed

+32
-4
lines changed

2 files changed

+32
-4
lines changed

.github/workflows/check-hlint.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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'

flake.nix

+1-4
Original file line numberDiff line numberDiff line change
@@ -197,10 +197,7 @@
197197
))
198198
# checks run on default system only;
199199
// (optionalAttrs (system == defaultSystem) {
200-
hlint = pkgs.callPackage pkgs.hlintCheck {
201-
inherit (project.args) src;
202-
};
203-
});
200+
});
204201

205202
exes = (collectExes project) // {
206203
inherit (pkgs) cabalProjectRegenerate checkCabalProject;

0 commit comments

Comments
 (0)