Skip to content

Bench profiles

Bench profiles #6453

Triggered via pull request March 21, 2024 18:38
Status Success
Total duration 42s
Artifacts

check-hlint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

15 warnings
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, rwe/actions-hlint-setup@v1, rwe/actions-hlint-run@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: rwe/actions-hlint-setup@v1, rwe/actions-hlint-run@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
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-profile.hs#L1
Warning in module Main: Unused LANGUAGE pragma ▫︎ Found: "{-# LANGUAGE LambdaCase #-}"
build: bench/cardano-profile/app/cardano-profile.hs#L2
Warning in module Main: Unused LANGUAGE pragma ▫︎ Found: "{-# LANGUAGE RecordWildCards #-}" ▫︎ Note: may require `{-# LANGUAGE DisambiguateRecordFields #-}` adding to the top of the file
build: bench/cardano-profile/app/cardano-profile.hs#L3
Warning in module Main: Unused LANGUAGE pragma ▫︎ Found: "{-# LANGUAGE TupleSections #-}"
build: bench/cardano-profile/app/cardano-profile.hs#L43
Warning in main in module Main: Use print ▫︎ Found: "putStrLn $ show (profile :: Profile.Profile)" ▫︎ Perhaps: "print (profile :: Profile.Profile)"
build: bench/cardano-profile/app/cardano-profile.hs#L52
Suggestion in cliParser in module Main: Redundant bracket ▫︎ Found: "(OA.command\n \"make\"\n (OA.info\n (Make <$> OA.argument OA.str (OA.metavar \"PROFILE-NAME\"))\n (OA.fullDesc <> OA.header \"make\" <> OA.progDesc \"Create profile\")))\n <>\n (OA.command\n \"to-json\"\n (OA.info\n (ToJson <$> OA.argument OA.str (OA.metavar \"FILE\"))\n (OA.fullDesc\n <> OA.header \"to-json\" <> OA.progDesc \"Data type to JSON\")))\n <>\n (OA.command\n \"from-json\"\n (OA.info\n (FromJson <$> OA.argument OA.str (OA.metavar \"FILE\"))\n (OA.fullDesc\n <> OA.header \"from-json\" <> OA.progDesc \"JSON to data type\")))" ▫︎ Perhaps: "OA.command\n \"make\"\n (OA.info\n (Make <$> OA.argument OA.str (OA.metavar \"PROFILE-NAME\"))\n (OA.fullDesc <> OA.header \"make\" <> OA.progDesc \"Create profile\"))\n <>\n (OA.command\n \"to-json\"\n (OA.info\n (ToJson <$> OA.argument OA.str (OA.metavar \"FILE\"))\n (OA.fullDesc\n <> OA.header \"to-json\" <> OA.progDesc \"Data type to JSON\")))\n <>\n (OA.command\n \"from-json\"\n (OA.info\n (FromJson <$> OA.argument OA.str (OA.metavar \"FILE\"))\n (OA.fullDesc\n <> OA.header \"from-json\" <> OA.progDesc \"JSON to data type\")))"
build: bench/cardano-profile/app/cardano-profile.hs#L59
Suggestion in cliParser in module Main: Redundant bracket ▫︎ Found: "(OA.command\n \"to-json\"\n (OA.info\n (ToJson <$> OA.argument OA.str (OA.metavar \"FILE\"))\n (OA.fullDesc\n <> OA.header \"to-json\" <> OA.progDesc \"Data type to JSON\")))\n <>\n (OA.command\n \"from-json\"\n (OA.info\n (FromJson <$> OA.argument OA.str (OA.metavar \"FILE\"))\n (OA.fullDesc\n <> OA.header \"from-json\" <> OA.progDesc \"JSON to data type\")))" ▫︎ Perhaps: "OA.command\n \"to-json\"\n (OA.info\n (ToJson <$> OA.argument OA.str (OA.metavar \"FILE\"))\n (OA.fullDesc\n <> OA.header \"to-json\" <> OA.progDesc \"Data type to JSON\"))\n <>\n (OA.command\n \"from-json\"\n (OA.info\n (FromJson <$> OA.argument OA.str (OA.metavar \"FILE\"))\n (OA.fullDesc\n <> OA.header \"from-json\" <> OA.progDesc \"JSON to data type\")))"
build: bench/cardano-profile/app/cardano-profile.hs#L66
Suggestion in cliParser in module Main: Redundant bracket ▫︎ Found: "(OA.command\n \"to-json\"\n (OA.info\n (ToJson <$> OA.argument OA.str (OA.metavar \"FILE\"))\n (OA.fullDesc\n <> OA.header \"to-json\" <> OA.progDesc \"Data type to JSON\")))\n <>\n (OA.command\n \"from-json\"\n (OA.info\n (FromJson <$> OA.argument OA.str (OA.metavar \"FILE\"))\n (OA.fullDesc\n <> OA.header \"from-json\" <> OA.progDesc \"JSON to data type\")))" ▫︎ Perhaps: "(OA.command\n \"to-json\"\n (OA.info\n (ToJson <$> OA.argument OA.str (OA.metavar \"FILE\"))\n (OA.fullDesc\n <> OA.header \"to-json\" <> OA.progDesc \"Data type to JSON\")))\n <>\n OA.command\n \"from-json\"\n (OA.info\n (FromJson <$> OA.argument OA.str (OA.metavar \"FILE\"))\n (OA.fullDesc\n <> OA.header \"from-json\" <> OA.progDesc \"JSON to data type\"))"
build: bench/cardano-profile/src/Cardano/Benchmarking/Profile.hs#L1
Warning in module Cardano.Benchmarking.Profile: Unused LANGUAGE pragma ▫︎ Found: "{-# LANGUAGE LambdaCase #-}"
build: bench/cardano-profile/src/Cardano/Benchmarking/Profile.hs#L3
Warning in module Cardano.Benchmarking.Profile: Unused LANGUAGE pragma ▫︎ Found: "{-# LANGUAGE DeriveGeneric #-}"
build: bench/cardano-profile/src/Cardano/Benchmarking/Profile.hs#L172
Warning in name in module Cardano.Benchmarking.Profile: Redundant lambda ▫︎ Found: "name str = \\ p -> p {Types.name = str}" ▫︎ Perhaps: "name str p = p {Types.name = str}"