Skip to content

Improve the FreeBSD CI #177

Improve the FreeBSD CI

Improve the FreeBSD CI #177

Triggered via pull request July 30, 2024 20:36
Status Success
Total duration 14s
Artifacts

linting.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 warnings
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