Skip to content

Bench timeline

Bench timeline #9218

Triggered via pull request March 7, 2025 23:32
Status Success
Total duration 55s
Artifacts

check-hlint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 warnings
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build: bench/cardano-profile/app/cardano-timeline.hs#L79
Suggestion in main in module Main: Redundant bracket ▫︎ Found: "minusEp <> (addCostsNames costs)" ▫︎ Perhaps: "minusEp <> addCostsNames costs"
build: bench/cardano-profile/app/cardano-timeline.hs#L85
Suggestion in main in module Main: Redundant bracket ▫︎ Found: "minusEp\n <>\n (KeyMap.unionWithKey\n (\\ _ v' v\n -> case (v', v) of\n (Aeson.Object kv', Aeson.Object kv)\n -> Aeson.Object $ minus [] kv kv'\n _ -> v)\n (addCostsNames costs') (addCostsNames costs))" ▫︎ Perhaps: "minusEp\n <>\n KeyMap.unionWithKey\n (\\ _ v' v\n -> case (v', v) of\n (Aeson.Object kv', Aeson.Object kv)\n -> Aeson.Object $ minus [] kv kv'\n _ -> v)\n (addCostsNames costs') (addCostsNames costs)"
build: bench/cardano-profile/app/cardano-timeline.hs#L146
Suggestion in getCosts in module Main: Redundant bracket ▫︎ Found: "case KeyMap.lookup \"costs\" costModel of\n (Just (Aeson.Object c)) -> (Just c)\n _ -> error \"Cost model \\\"costs\\\" property not a JSON Object\"" ▫︎ Perhaps: "case KeyMap.lookup \"costs\" costModel of\n (Just (Aeson.Object c)) -> Just c\n _ -> error \"Cost model \\\"costs\\\" property not a JSON Object\""
build: bench/cardano-profile/app/cardano-timeline.hs#L151
Warning in addCostsNames in module Main: Eta reduce ▫︎ Found: "addCostsNames costs\n = KeyMap.mapWithKey\n (\\ k v\n -> case (k, v) of\n (\"PlutusV1\", Aeson.Array v1s)\n -> Aeson.object $ zip (map fromString plutusV1) (toList v1s)\n (\"PlutusV2\", Aeson.Array v2s)\n -> Aeson.object $ zip (map fromString plutusV2) (toList v2s)\n _ -> v)\n costs" ▫︎ Perhaps: "addCostsNames\n = KeyMap.mapWithKey\n (\\ k v\n -> case (k, v) of\n (\"PlutusV1\", Aeson.Array v1s)\n -> Aeson.object $ zip (map fromString plutusV1) (toList v1s)\n (\"PlutusV2\", Aeson.Array v2s)\n -> Aeson.object $ zip (map fromString plutusV2) (toList v2s)\n _ -> v)"
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/