Skip to content

Add Parsec test for all and specific PackageConfig #12

Add Parsec test for all and specific PackageConfig

Add Parsec test for all and specific PackageConfig #12

Triggered via push January 30, 2024 15:07
Status Failure
Total duration 1m 20s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 4 warnings
hlint
HLint failed with status: 1. Suggestion (3)
hlint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: haskell/actions/hlint-setup@v2, haskell/actions/hlint-run@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
hlint: cabal-install/src/Distribution/Client/ProjectConfig/Parsec.hs#L141
Suggestion in parseSection in module Distribution.Client.ProjectConfig.Parsec: Move brackets to avoid $ ▫︎ Found: "spcs <> (MapMappend $ Map.singleton packageName pkgCfg)" ▫︎ Perhaps: "spcs <> MapMappend (Map.singleton packageName pkgCfg)"
hlint: cabal-install/src/Distribution/Client/ProjectConfig/Parsec.hs#L183
Suggestion in parseProgramArgs in module Distribution.Client.ProjectConfig.Parsec: Move brackets to avoid $ ▫︎ Found: "accum <> (MapMappend $ Map.singleton program args)" ▫︎ Perhaps: "accum <> MapMappend (Map.singleton program args)"
hlint: cabal-install/src/Distribution/Client/ProjectConfig/Parsec.hs#L194
Suggestion in parseProgramPaths in module Distribution.Client.ProjectConfig.Parsec: Move brackets to avoid $ ▫︎ Found: "accum <> (MapLast $ Map.singleton program fp)" ▫︎ Perhaps: "accum <> MapLast (Map.singleton program fp)"