Skip to content

Commit 0bb7ef3

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

File tree

3 files changed

+31
-6
lines changed

3 files changed

+31
-6
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'

nix/pkgs.nix

-5
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@ final: prev: with final; {
1111

1212
cabal = haskell-nix.cabal-install.${compiler-nix-name};
1313

14-
hlint = haskell-nix.tool compiler-nix-name "hlint" {
15-
version = "3.2.7";
16-
index-state = "2022-12-11T00:00:00Z";
17-
};
18-
1914
ghcid = haskell-nix.tool compiler-nix-name "ghcid" {
2015
version = "0.8.7";
2116
index-state = "2022-12-11T00:00:00Z";

nix/workbench/shell.nix

-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ in project.shellFor {
101101
sqlite-interactive
102102
tmux
103103
pkgs.git
104-
pkgs.hlint
105104
pkgs.moreutils
106105
pkgs.pstree
107106
pkgs.time

0 commit comments

Comments
 (0)