Skip to content

Fix build by adding /v4 to module path #338

Fix build by adding /v4 to module path

Fix build by adding /v4 to module path #338

Re-run triggered December 19, 2023 02:08
Status Failure
Total duration 47s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 7 warnings
lint: internal/cli/cli.go#L71
Error return value of `yahooClient.RefreshSession` is not checked (errcheck)
lint: internal/common/common.go#L4
import 'github.com/go-resty/resty/v2' is not allowed from list 'Main' (depguard)
lint: internal/common/common.go#L5
import 'github.com/spf13/afero' is not allowed from list 'Main' (depguard)
lint: internal/cli/symbol/symbol.go#L8
import 'github.com/achannarasappa/ticker/v4/internal/common' is not allowed from list 'Main' (depguard)
lint: internal/cli/symbol/symbol.go#L9
import 'github.com/go-resty/resty/v2' is not allowed from list 'Main' (depguard)
lint: internal/quote/coingecko/coingecko.go#L7
import 'github.com/achannarasappa/ticker/v4/internal/common' is not allowed from list 'Main' (depguard)
lint: internal/quote/coingecko/coingecko.go#L8
import 'github.com/go-resty/resty/v2' is not allowed from list 'Main' (depguard)
lint: internal/quote/yahoo/currency.go#L6
import 'github.com/achannarasappa/ticker/v4/internal/common' is not allowed from list 'Main' (depguard)
lint: internal/quote/quote.go#L5
import 'github.com/achannarasappa/ticker/v4/internal/quote/coingecko' is not allowed from list 'Main' (depguard)
lint: internal/quote/quote.go#L6
import 'github.com/achannarasappa/ticker/v4/internal/quote/yahoo' is not allowed from list 'Main' (depguard)
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: 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/ui/component/watchlist/watchlist.go#L387
unused-parameter: parameter 'styles' seems to be unused, consider removing or renaming it as _ (revive)
lint: internal/ui/component/watchlist/watchlist.go#L394
unused-parameter: parameter 'asset' seems to be unused, consider removing or renaming it as _ (revive)