Skip to content

Parsing PackageConfig for AllPackages and Specific #11

Parsing PackageConfig for AllPackages and Specific

Parsing PackageConfig for AllPackages and Specific #11

Triggered via push January 25, 2024 13:01
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#L181
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#L192
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)"