Skip to content

Add CI Linting step

Add CI Linting step #8

Triggered via pull request November 30, 2023 22:52
@MDrakosMDrakos
synchronize #2914
DX-2202
Status Failure
Total duration 57s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: pkg/platform/authentication/auth.go#L10
could not import github.com/ActiveState/cli/internal/condition (-: # github.com/ActiveState/cli/internal/condition
lint: internal/condition/condition.go#L33
undefined: constants.BranchName
lint: internal/condition/condition.go#L37
undefined: constants.OnCI) (typecheck)
lint: pkg/platform/authentication/auth.go#L204
tips declared and not used (typecheck)
lint: pkg/platform/authentication/auth.go#L388
undefined: constants.APITokenName (typecheck)
lint: pkg/platform/authentication/auth.go#L400
undefined: constants.APITokenName (typecheck)
lint: pkg/platform/authentication/auth.go#L24
"github.com/ActiveState/cli/pkg/platform/api/mono/mono_client/authentication" imported as apiAuth and not used (typecheck)
lint: internal/captain/command.go#L18
could not import github.com/ActiveState/cli/internal/condition (-: # github.com/ActiveState/cli/internal/condition
lint: internal/condition/condition.go#L33
undefined: constants.BranchName
lint: internal/condition/condition.go#L37
undefined: constants.OnCI) (typecheck)