-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
88 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Linting | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
style: | ||
name: Linting | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Clone project | ||
uses: actions/checkout@v4 | ||
- name: Apply yamllint | ||
uses: ibiqlik/action-yamllint@v3 | ||
with: | ||
format: github | ||
- name: Set up HLint | ||
uses: haskell-actions/hlint-setup@v2 | ||
with: | ||
version: "3.6.1" | ||
- name: Apply HLint | ||
run: | | ||
set -ex | ||
hlint app/test-pretty-exceptions | ||
hlint int/ | ||
hlint src/ | ||
hlint test/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Not considered useful hints | ||
- ignore: | ||
name: "Use camelCase" | ||
within: | ||
- System.Terminal | ||
- ignore: | ||
name: "Use fewer imports" | ||
within: | ||
- Pantry.Types |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Configuration file for yamllint | ||
extends: default | ||
rules: | ||
comments: | ||
min-spaces-from-content: 1 | ||
document-start: disable | ||
indentation: | ||
spaces: 2 | ||
indent-sequences: false | ||
line-length: disable | ||
new-lines: | ||
type: platform | ||
truthy: | ||
check-keys: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
name: pantry | ||
version: 0.9.2 | ||
synopsis: Content addressable Haskell package management | ||
name: pantry | ||
version: 0.9.2 | ||
synopsis: Content addressable Haskell package management | ||
description: Please see the README on GitHub at <https://github.com/commercialhaskell/pantry#readme> | ||
category: Development | ||
author: Michael Snoyman | ||
maintainer: [email protected] | ||
copyright: 2018-2022 FP Complete | ||
license: BSD3 | ||
github: commercialhaskell/pantry | ||
category: Development | ||
author: Michael Snoyman | ||
maintainer: [email protected] | ||
copyright: 2018-2022 FP Complete | ||
license: BSD3 | ||
github: commercialhaskell/pantry | ||
|
||
extra-source-files: | ||
- README.md | ||
|
@@ -79,9 +79,9 @@ when: | |
dependencies: network >= 3.1.2.9 | ||
|
||
ghc-options: | ||
- -fwrite-ide-info | ||
- -hiedir=.hie | ||
- -Wall | ||
- -fwrite-ide-info | ||
- -hiedir=.hie | ||
- -Wall | ||
|
||
# For testing | ||
internal-libraries: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters