File tree Expand file tree Collapse file tree 4 files changed +114
-5
lines changed
Expand file tree Collapse file tree 4 files changed +114
-5
lines changed Original file line number Diff line number Diff line change 1414 steps :
1515 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1616 - uses : haskell-actions/run-ormolu@c5eec49879ee294be01c787bcbf7b5a373a37060 # v17
17- with :
18- respect-cabal-files : false
19- extra-args : ' -o -XGHC2021 -o -XOverloadedStrings'
Original file line number Diff line number Diff line change 11* ~
2- * .cabal
32.stack-work /
43.vscode /
4+ dist-newstyle /
55stack.yaml.lock
Original file line number Diff line number Diff line change 1+ cabal-version : 1.12
2+
3+ -- This file has been generated from package.yaml by hpack version 0.37.0.
4+ --
5+ -- see: https://github.com/sol/hpack
6+
7+ name : hlint-scan
8+ version : 1.2.0
9+ synopsis : Code scanning GitHub action using HLint.
10+ description : Scans code with HLint and uploads its analysis results to GitHub code scanning.
11+ This is intended to be used as a standalone application on GitHub and not a library .
12+ See <https://github.com/haskell-actions/hlint-scan> .
13+ category : GitHub, Development
14+ homepage : https://github.com/haskell-actions/hlint-scan#readme
15+ bug-reports : https://github.com/haskell-actions/hlint-scan/issues
16+ author : Yoo Chung
17+ 18+ copyright : Copyright 2023 Google LLC
19+ license : Apache-2.0
20+ license-file : LICENSE
21+ build-type : Simple
22+ extra-source-files :
23+ action.yaml
24+ Dockerfile
25+ LICENSE
26+ README.md
27+ docs/CHANGELOG.md
28+ docs/CODE_OF_CONDUCT.md
29+ docs/CONTRIBUTING.md
30+ docs/pull-scan.png
31+ docs/security-scan.png
32+ docs/SECURITY.md
33+
34+ source-repository head
35+ type : git
36+ location : https://github.com/haskell-actions/hlint-scan
37+
38+ library
39+ exposed-modules :
40+ Arguments
41+ AutomationDetails
42+ FilePath
43+ Fingerprint
44+ Format
45+ Rules
46+ Scan
47+ SpecialOutput
48+ Upload
49+ other-modules :
50+ Paths_hlint_scan
51+ hs-source-dirs :
52+ src
53+ default-extensions :
54+ OverloadedStrings
55+ ghc-options : -Wall -Werror -O2
56+ build-depends :
57+ aeson
58+ , base
59+ , base64
60+ , bytestring
61+ , containers
62+ , filepath
63+ , github-rest
64+ , process
65+ , text
66+ , vector
67+ , zlib
68+ default-language : GHC2021
69+
70+ executable hlint-scan
71+ main-is : Main.hs
72+ hs-source-dirs :
73+ app
74+ default-extensions :
75+ OverloadedStrings
76+ ghc-options : -Wall -Werror -O2 -threaded -rtsopts -with-rtsopts=-N
77+ build-depends :
78+ base
79+ , hlint-scan
80+ default-language : GHC2021
81+
82+ test-suite spec
83+ type : exitcode-stdio-1.0
84+ main-is : Spec.hs
85+ other-modules :
86+ ArgumentsSpec
87+ AutomationDetailsSpec
88+ FilePathSpec
89+ FingerprintSpec
90+ FormatSpec
91+ RulesSpec
92+ SpecialOutputSpec
93+ UploadSpec
94+ hs-source-dirs :
95+ test
96+ default-extensions :
97+ OverloadedStrings
98+ ghc-options : -Wall -Werror -O2 -threaded -rtsopts -with-rtsopts=-N
99+ build-depends :
100+ QuickCheck
101+ , aeson
102+ , base
103+ , base64
104+ , bytestring
105+ , github-rest
106+ , hlint-scan
107+ , hspec
108+ , quickcheck-instances
109+ , text
110+ , vector
111+ , zlib
112+ default-language : GHC2021
Original file line number Diff line number Diff line change @@ -37,9 +37,9 @@ import AutomationDetails qualified
3737import Control.Monad (when )
3838import Data.Aeson (Value , decode , encode )
3939import Data.ByteString.Lazy as ByteString
40- import Data.Text.IO qualified as TIO
4140import Data.Maybe (isJust )
4241import Data.String
42+ import Data.Text.IO qualified as TIO
4343import FilePath qualified
4444import Fingerprint qualified
4545import Format (formatMessages )
You can’t perform that action at this time.
0 commit comments