Skip to content

ci: specify coverage format #346

ci: specify coverage format

ci: specify coverage format #346

Triggered via push December 20, 2023 02:34
Status Failure
Total duration 15s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
lint: internal/currency/currency.go#L4
import 'github.com/achannarasappa/ticker/internal/common' is not allowed from list 'Main' (depguard)
lint: internal/sorter/sorter.go#L6
import 'github.com/achannarasappa/ticker/internal/common' is not allowed from list 'Main' (depguard)
lint: main.go#L3
import 'github.com/achannarasappa/ticker/cmd' is not allowed from list 'Main' (depguard)
lint: internal/quote/yahoo/client/client.go#L119
var-naming: var reSessionId should be reSessionID (revive)
lint: internal/quote/yahoo/client/client.go#L146
var-naming: var sessionIdMatchResult should be sessionIDMatchResult (revive)
lint: internal/quote/yahoo/client/client.go#L152
var-naming: var sessionId should be sessionID (revive)
lint: internal/quote/yahoo/client/client.go#L10
import 'github.com/go-resty/resty/v2' is not allowed from list 'Main' (depguard)
lint: internal/quote/yahoo/client/client.go#L107
err113: do not define dynamic errors, use wrapped static errors instead: "errors.New(\"unexpected response from Yahoo API: A3 session cookie missing from response\")" (goerr113)
lint: internal/quote/yahoo/client/client.go#L143
err113: do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"unexpected response from Yahoo API: non-2xx response code: %s\", res1.Status())" (goerr113)
lint: internal/quote/yahoo/client/client.go#L149
err113: do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"error unable to extract session id from redirected request URL: '%s'\", res1.Request.URL)" (goerr113)
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint
The `save-state` 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/
lint
The `save-state` 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/