Skip to content

wb | enable cardano-profile #8333

wb | enable cardano-profile

wb | enable cardano-profile #8333

Triggered via pull request September 24, 2024 21:13
@fmastefmaste
synchronize #5994
bench-jq
Status Success
Total duration 56s
Artifacts

check-hlint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

15 warnings
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 following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, rwe/actions-hlint-setup@v1, rwe/actions-hlint-run@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-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/src/Cardano/Benchmarking/Profile/NodeSpecs.hs#L102
Suggestion in nodeSpecs' in module Cardano.Benchmarking.Profile.NodeSpecs: Use tuple-section ▫︎ Found: "\\ i' -> (i', BFT, 0, True)" ▫︎ Perhaps: "(, BFT, 0, True)" ▫︎ Note: may require `{-# LANGUAGE TupleSections #-}` adding to the top of the file
build: bench/cardano-profile/src/Cardano/Benchmarking/Profile/NodeSpecs.hs#L121
Suggestion in nodeSpecs' in module Cardano.Benchmarking.Profile.NodeSpecs: Redundant bracket ▫︎ Found: "if i' - n_bfts < n_singular_pools then\n 1\nelse\n (Types.dense_pool_density $ Types.composition profile)" ▫︎ Perhaps: "if i' - n_bfts < n_singular_pools then\n 1\nelse\n Types.dense_pool_density $ Types.composition profile"
build: bench/cardano-profile/src/Cardano/Benchmarking/Profile/NodeSpecs.hs#L132
Suggestion in nodeSpecs' in module Cardano.Benchmarking.Profile.NodeSpecs: Use tuple-section ▫︎ Found: "\\ i' -> (i', Proxy, 0, True)" ▫︎ Perhaps: "(, Proxy, 0, True)" ▫︎ Note: may require `{-# LANGUAGE TupleSections #-}` adding to the top of the file
build: bench/cardano-profile/src/Cardano/Benchmarking/Profile/NodeSpecs.hs#L146
Suggestion in nodeSpecs' in module Cardano.Benchmarking.Profile.NodeSpecs: Use tuple-section ▫︎ Found: "\\ i' -> (i', ChaindbServer, 0, True)" ▫︎ Perhaps: "(, ChaindbServer, 0, True)" ▫︎ Note: may require `{-# LANGUAGE TupleSections #-}` adding to the top of the file
build: bench/cardano-profile/src/Cardano/Benchmarking/Profile/NodeSpecs.hs#L160
Suggestion in nodeSpecs' in module Cardano.Benchmarking.Profile.NodeSpecs: Use tuple-section ▫︎ Found: "\\ i' -> (i', Explorer, 0, False)" ▫︎ Perhaps: "(, Explorer, 0, False)" ▫︎ Note: may require `{-# LANGUAGE TupleSections #-}` adding to the top of the file
build: bench/cardano-profile/src/Cardano/Benchmarking/Profile/NodeSpecs.hs#L180
Suggestion in nodeSpecs' in module Cardano.Benchmarking.Profile.NodeSpecs: Redundant bracket ▫︎ Found: "\"node-\" ++ (show i')" ▫︎ Perhaps: "\"node-\" ++ show i'"
build: bench/cardano-profile/src/Cardano/Benchmarking/Profile/NodeSpecs.hs#L185
Suggestion in nodeSpecs' in module Cardano.Benchmarking.Profile.NodeSpecs: Move brackets to avoid $ ▫︎ Found: "(toEnum $ TopologyTypes.nodeId coreNode) == i'" ▫︎ Perhaps: "toEnum (TopologyTypes.nodeId coreNode) == i'"
build: bench/cardano-profile/src/Cardano/Benchmarking/Profile/NodeSpecs.hs#L189
Suggestion in nodeSpecs' in module Cardano.Benchmarking.Profile.NodeSpecs: Redundant bracket ▫︎ Found: "\"WTF! \" ++ (show i')" ▫︎ Perhaps: "\"WTF! \" ++ show i'"
build: bench/cardano-profile/src/Cardano/Benchmarking/Profile/NodeSpecs.hs#L208
Suggestion in nodeSpecs' in module Cardano.Benchmarking.Profile.NodeSpecs: Move brackets to avoid $ ▫︎ Found: "(toEnum $ TopologyTypes.nodeId relayNode) == i'" ▫︎ Perhaps: "toEnum (TopologyTypes.nodeId relayNode) == i'"
build: bench/cardano-profile/src/Cardano/Benchmarking/Profile/NodeSpecs.hs#L212
Suggestion in nodeSpecs' in module Cardano.Benchmarking.Profile.NodeSpecs: Redundant bracket ▫︎ Found: "\"WTF! \" ++ (show i')" ▫︎ Perhaps: "\"WTF! \" ++ show i'"