Skip to content

Initial code

Initial code #2

Triggered via pull request October 9, 2024 23:51
@chris-martinchris-martin
synchronize #1
chris/init
Status Failure
Total duration 1m 9s
Artifacts

ci.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 14 warnings
lint
HLint failed with status: 1. Warning (1412), Suggestion (4894)
test (stack-lts-20-26.yaml)
Error: The process '/usr/local/bin/stack' failed with exit code 1
test (stack-lts-20-26.yaml)
The process '/usr/local/bin/stack' failed with exit code 1
test (stack.yaml)
Error: The process '/usr/local/bin/stack' failed with exit code 1
test (stack.yaml)
The process '/usr/local/bin/stack' failed with exit code 1
test (stack-nightly.yaml)
Error: The process '/usr/local/bin/stack' failed with exit code 1
test (stack-nightly.yaml)
The process '/usr/local/bin/stack' failed with exit code 1
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: haskell/actions/hlint-setup@v2, haskell/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/
lint: recurly-client/src/RecurlyClient/SecuritySchemes.hs#L2
Warning in module RecurlyClient.SecuritySchemes: Unused LANGUAGE pragma ▫︎ Found: "{-# LANGUAGE OverloadedStrings #-}"
lint: recurly-client/src/RecurlyClient/SecuritySchemes.hs#L39
Warning in basicAuthenticationSecurityScheme in module RecurlyClient.SecuritySchemes: Redundant lambda ▫︎ Found: "basicAuthenticationSecurityScheme\n = \\ basicAuth_0\n -> Network.HTTP.Client.Request.applyBasicAuth\n (RecurlyClient.Common.textToByte\n GHC.Base.$ basicAuthenticationDataUsername basicAuth_0)\n (RecurlyClient.Common.textToByte\n GHC.Base.$ basicAuthenticationDataPassword basicAuth_0)" ▫︎ Perhaps: "basicAuthenticationSecurityScheme basicAuth_0\n = Network.HTTP.Client.Request.applyBasicAuth\n (RecurlyClient.Common.textToByte\n GHC.Base.$ basicAuthenticationDataUsername basicAuth_0)\n (RecurlyClient.Common.textToByte\n GHC.Base.$ basicAuthenticationDataPassword basicAuth_0)"
lint: recurly-client/src/RecurlyClient/TypeAlias.hs#L1
Warning in module RecurlyClient.TypeAlias: Unused LANGUAGE pragma ▫︎ Found: "{-# LANGUAGE MultiWayIf #-}"
lint: recurly-client/src/RecurlyClient/TypeAlias.hs#L3
Warning in module RecurlyClient.TypeAlias: Unused LANGUAGE pragma ▫︎ Found: "{-# LANGUAGE OverloadedStrings #-}"
lint: recurly-client/src/RecurlyClient/Operations/Apply_credit_balance.hs#L51
Suggestion in apply_credit_balance in module RecurlyClient.Operations.Apply_credit_balance: Use camelCase ▫︎ Found: "apply_credit_balance ::\n forall m. (RecurlyClient.Common.MonadHTTP m) =>\n Apply_credit_balanceParameters\n -> RecurlyClient.Common.ClientT m (Network.HTTP.Client.Types.Response Apply_credit_balanceResponse)" ▫︎ Perhaps: "applyCreditBalance ::\n forall m. (RecurlyClient.Common.MonadHTTP m) =>\n Apply_credit_balanceParameters\n -> RecurlyClient.Common.ClientT m (Network.HTTP.Client.Types.Response Apply_credit_balanceResponse)"
lint: recurly-client/src/RecurlyClient/Operations/Apply_credit_balance.hs#L58
Suggestion in apply_credit_balance in module RecurlyClient.Operations.Apply_credit_balance: Use camelCase ▫︎ Found: "apply_credit_balance parameters = ..." ▫︎ Perhaps: "applyCreditBalance parameters = ..."
lint: recurly-client/src/RecurlyClient/Operations/Apply_credit_balance.hs#L99
Suggestion in apply_credit_balance in module RecurlyClient.Operations.Apply_credit_balance: Move brackets to avoid $ ▫︎ Found: "Network.HTTP.Types.URI.urlEncode GHC.Types.True\n GHC.Base.$\n (RecurlyClient.Common.textToByte\n GHC.Base.$\n RecurlyClient.Common.stringifyModel\n (apply_credit_balanceParametersPathInvoice_id parameters))" ▫︎ Perhaps: "Network.HTTP.Types.URI.urlEncode GHC.Types.True\n GHC.Base.$\n RecurlyClient.Common.textToByte\n (RecurlyClient.Common.stringifyModel\n (apply_credit_balanceParametersPathInvoice_id parameters))"
lint: recurly-client/src/RecurlyClient/Operations/Apply_credit_balance.hs#L99
Suggestion in apply_credit_balance in module RecurlyClient.Operations.Apply_credit_balance: Redundant $ ▫︎ Found: "Network.HTTP.Types.URI.urlEncode GHC.Types.True\n GHC.Base.$\n (RecurlyClient.Common.textToByte\n GHC.Base.$\n RecurlyClient.Common.stringifyModel\n (apply_credit_balanceParametersPathInvoice_id parameters))" ▫︎ Perhaps: "Network.HTTP.Types.URI.urlEncode\n GHC.Types.True\n (RecurlyClient.Common.textToByte\n GHC.Base.$\n RecurlyClient.Common.stringifyModel\n (apply_credit_balanceParametersPathInvoice_id parameters))"
lint: recurly-client/src/RecurlyClient/Operations/Apply_credit_balance.hs#L102
Suggestion in Apply_credit_balanceParameters in module RecurlyClient.Operations.Apply_credit_balance: Use camelCase ▫︎ Found: "data Apply_credit_balanceParameters\n = Apply_credit_balanceParameters {apply_credit_balanceParametersPathInvoice_id :: Data.Text.Internal.Text,\n apply_credit_balanceParametersPathSite_id :: Data.Text.Internal.Text}\n deriving (GHC.Show.Show, GHC.Classes.Eq)" ▫︎ Perhaps: "data ApplyCreditBalanceParameters\n = ApplyCreditBalanceParameters {apply_credit_balanceParametersPathInvoice_id :: Data.Text.Internal.Text,\n apply_credit_balanceParametersPathSite_id :: Data.Text.Internal.Text}\n deriving (GHC.Show.Show, GHC.Classes.Eq)"
lint: recurly-client/src/RecurlyClient/Operations/Apply_credit_balance.hs#L124
Suggestion in mkApply_credit_balanceParameters in module RecurlyClient.Operations.Apply_credit_balance: Use camelCase ▫︎ Found: "mkApply_credit_balanceParameters ::\n Data.Text.Internal.Text\n -> Data.Text.Internal.Text -> Apply_credit_balanceParameters" ▫︎ Perhaps: "mkApplyCreditBalanceParameters ::\n Data.Text.Internal.Text\n -> Data.Text.Internal.Text -> Apply_credit_balanceParameters"
test (stack-lts-20-26.yaml)
No cache found
test (stack.yaml)
No cache found
test (stack-nightly.yaml)
No cache found