Skip to content

Use GHC 9.10

Use GHC 9.10 #197

Triggered via pull request February 4, 2025 22:17
@tchoutritchoutri
synchronize #27
use-ghc-9.10
Status Failure
Total duration 15s
Artifacts

linting.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 4 warnings
fourmolu
fourmolu detected unformatted files
hlint
HLint failed with status: 1. Warning (2), Suggestion (2)
hlint: app/Main.hs#L145
Suggestion in deploymentOsOption in module Main: Use lambda-case ▫︎ Found: "\\ string\n -> case string of\n \"all\" -> Just AllOS\n os -> Just $ OS (Text.pack os)" ▫︎ Perhaps: "\\case\n \"all\" -> Just AllOS\n os -> Just $ OS (Text.pack os)" ▫︎ Note: may require `{-# LANGUAGE LambdaCase #-}` adding to the top of the file
hlint: app/Main.hs#L152
Suggestion in deploymentArchOption in module Main: Use lambda-case ▫︎ Found: "\\ string\n -> case string of\n \"all\" -> Just AllArchs\n arch -> Just $ Arch (Text.pack arch)" ▫︎ Perhaps: "\\case\n \"all\" -> Just AllArchs\n arch -> Just $ Arch (Text.pack arch)" ▫︎ Note: may require `{-# LANGUAGE LambdaCase #-}` adding to the top of the file
hlint: test/Confer/EvaluatorTest.hs#L1
Warning in module Confer.EvaluatorTest: Unused LANGUAGE pragma ▫︎ Found: "{-# LANGUAGE QuasiQuotes #-}"
hlint: test/Confer/EvaluatorTest.hs#L11
Warning in module Confer.EvaluatorTest: Use fewer imports ▫︎ Found: "import Effectful.FileSystem ( FileSystem )\nimport Effectful.FileSystem qualified as FileSystem\nimport Effectful.FileSystem\n" ▫︎ Perhaps: "import Effectful.FileSystem qualified as FileSystem\nimport Effectful.FileSystem\n"