Skip to content

Fixes issue #631: Fixing the slight differences in Kptfile upstream f… #42

Fixes issue #631: Fixing the slight differences in Kptfile upstream f…

Fixes issue #631: Fixing the slight differences in Kptfile upstream f… #42

Triggered via pull request December 24, 2024 06:16
Status Failure
Total duration 1m 56s
Artifacts

golangci-lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
lint: pkg/engine/builtinruntime.go#L23
could not import github.com/nephio-project/porch/pkg/kpt (-: # github.com/nephio-project/porch/pkg/kpt
lint: pkg/kpt/clone.go#L36
cannot use &lock (value of type *"github.com/nephio-project/porch/pkg/kpt/api/kptfile/v1".UpstreamLock) as *"github.com/nephio-project/porch/pkg/kpt/api/kptfile/v1".Upstream value in argument to normalizeGitFields) (typecheck)
lint: pkg/kpt/clone.go#L36
cannot use &lock (value of type *"github.com/nephio-project/porch/pkg/kpt/api/kptfile/v1".UpstreamLock) as *"github.com/nephio-project/porch/pkg/kpt/api/kptfile/v1".Upstream value in argument to normalizeGitFields (typecheck)
lint: pkg/task/clone.go#L27
could not import github.com/nephio-project/porch/pkg/kpt (-: # github.com/nephio-project/porch/pkg/kpt
lint: pkg/kpt/clone.go#L36
cannot use &lock (value of type *"github.com/nephio-project/porch/pkg/kpt/api/kptfile/v1".UpstreamLock) as *"github.com/nephio-project/porch/pkg/kpt/api/kptfile/v1".Upstream value in argument to normalizeGitFields) (typecheck)
lint
issues found
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636