Skip to content

Remove the use of go.uber.org/zap in entrypoint's dependent packages and uses log/slog #190

Remove the use of go.uber.org/zap in entrypoint's dependent packages and uses log/slog

Remove the use of go.uber.org/zap in entrypoint's dependent packages and uses log/slog #190

Triggered via pull request February 5, 2025 09:12
Status Failure
Total duration 1m 13s
Artifacts

golangci-lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors
lint: pkg/entrypoint/entrypointer_test.go#L707
unknown field SpireWorkloadAPI in struct literal of type Entrypointer
lint: pkg/entrypoint/entrypointer_test.go#L1082
cannot use tc.when (variable of type "github.com/tektoncd/pipeline/pkg/apis/pipeline/v1".StepWhenExpressions) as "github.com/tektoncd/pipeline/pkg/apis/pipeline/v1/types".StepWhenExpressions value in struct literal
lint: pkg/entrypoint/entrypointer_test.go#L1155
cannot use tc.when (variable of type "github.com/tektoncd/pipeline/pkg/apis/pipeline/v1".StepWhenExpressions) as "github.com/tektoncd/pipeline/pkg/apis/pipeline/v1/types".StepWhenExpressions value in struct literal
lint: pkg/entrypoint/entrypointer_test.go#L1246
cannot use tc.when (variable of type "github.com/tektoncd/pipeline/pkg/apis/pipeline/v1".StepWhenExpressions) as "github.com/tektoncd/pipeline/pkg/apis/pipeline/v1/types".StepWhenExpressions value in struct literal
lint: pkg/entrypoint/entrypointer_test.go#L1384
cannot use tc.whenExpressions (variable of type "github.com/tektoncd/pipeline/pkg/apis/pipeline/v1".StepWhenExpressions) as "github.com/tektoncd/pipeline/pkg/apis/pipeline/v1/types".StepWhenExpressions value in struct literal
lint: pkg/entrypoint/entrypointer_test.go#L1552
cannot use test.when (variable of type "github.com/tektoncd/pipeline/pkg/apis/pipeline/v1".WhenExpressions) as "github.com/tektoncd/pipeline/pkg/apis/pipeline/v1/types".StepWhenExpressions value in struct literal (typecheck)
lint
issues found