Skip to content

import text as T

import text as T #2

Triggered via push October 20, 2023 16:43
Status Failure
Total duration 20s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 7 warnings
test
Error: Neither stack.yaml.lock nor stack.yaml exist
lint
HLint failed with status: 1. Warning (6), Suggestion (1)
lint: cabal-file-inspector/exe-lib/Exe/CabalFileSource.hs#L59
Suggestion in readCabalFile in module Exe.CabalFileSource: Redundant bracket ▫︎ Found: "(CabalFile.parseCabalFile cabalFileBytes) . result" ▫︎ Perhaps: "CabalFile.parseCabalFile cabalFileBytes . result"
lint: cabal-file-inspector/lib/CabalFile/CabalFile.hs#L36
Warning in module CabalFile.CabalFile: Avoid restricted alias ▫︎ Found: "import Data.ByteString qualified as ByteString.Strict" ▫︎ Perhaps: "import Data.ByteString qualified as BS" ▫︎ Note: may break the code
lint: cabal-file-inspector/lib/CabalFile/CabalFile.hs#L41
Warning in module CabalFile.CabalFile: Avoid restricted alias ▫︎ Found: "import Data.Text qualified as T.Strict" ▫︎ Perhaps: "import Data.Text qualified as T" ▫︎ Note: may break the code
lint: cabal-file-inspector/lib/CabalFile/CabalFile.hs#L42
Warning in module CabalFile.CabalFile: Avoid restricted alias ▫︎ Found: "import Data.Text.Encoding qualified as T.Strict" ▫︎ Perhaps: "import Data.Text.Encoding qualified as T" ▫︎ Note: may break the code
lint: cabal-file-inspector/lib/CabalFile/ComponentsByType.hs#L28
Warning in insert in module CabalFile.ComponentsByType: Redundant id ▫︎ Found: "id . tag" ▫︎ Perhaps: "tag"
lint: cabal-file-inspector/lib/CabalFile/ComponentsByType.hs#L29
Warning in insert in module CabalFile.ComponentsByType: Redundant id ▫︎ Found: "id . name c . buildInfo" ▫︎ Perhaps: "name c . buildInfo"
lint: cabal-file-inspector/lib/CabalFile/Package.hs#L59
Warning in componentsOfType in module CabalFile.Package: Redundant id ▫︎ Found: "id . name" ▫︎ Perhaps: "name"