Skip to content

Commit

Permalink
Remove hlint from nix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
newhoggy committed Jan 26, 2023
1 parent cf7c3f7 commit b554ad8
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 6 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/check-hlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Check HLint

on:
push:

jobs:
build:
runs-on: ubuntu-latest

defaults:
run:
shell: bash

steps:

- name: Install Nix
uses: cachix/install-nix-action@v18
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
experimental-features = nix-command flakes
allow-import-from-derivation = true
substituters = https://cache.nixos.org https://hydra.iohk.io
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=
- uses: actions/checkout@v2

- name: Run hlint
run: |
nix build '.#checks/hlint')
5 changes: 0 additions & 5 deletions nix/pkgs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ final: prev: with final; {

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

hlint = haskell-nix.tool compiler-nix-name "hlint" {
version = "3.2.7";
index-state = "2022-12-11T00:00:00Z";
};

ghcid = haskell-nix.tool compiler-nix-name "ghcid" {
version = "0.8.7";
index-state = "2022-12-11T00:00:00Z";
Expand Down
1 change: 0 additions & 1 deletion nix/workbench/shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ in project.shellFor {
sqlite-interactive
tmux
pkgs.git
pkgs.hlint
pkgs.moreutils
pkgs.pstree
pkgs.time
Expand Down

0 comments on commit b554ad8

Please sign in to comment.