Skip to content
Triggered via push February 18, 2024 11:21
Status Failure
Total duration 2m 0s
Artifacts

lint-golang.yaml

on: push
Deduce required tests from code changes
2s
Deduce required tests from code changes
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 6 warnings
unitest
Codecov: Failed to properly upload: The process '/home/runner/work/_actions/codecov/codecov-action/v3.1.4/dist/codecov' failed with exit code 255
lint-code
cannot use cpu.X86.HasSSE42 (variable of type bool) as unsafe.ArbitraryType value in argument to unsafe.Offsetof
lint-code
unsafe.Offsetof(cpu.X86.HasSSE42) (value of type uintptr) is not constant
lint-code
cannot use cpu.X86.HasAVX2 (variable of type bool) as unsafe.ArbitraryType value in argument to unsafe.Offsetof
lint-code
unsafe.Offsetof(cpu.X86.HasAVX2) (value of type uintptr) is not constant
lint-code
cannot use cpu.X86.HasPOPCNT (variable of type bool) as unsafe.ArbitraryType value in argument to unsafe.Offsetof
lint-code
unsafe.Offsetof(cpu.X86.HasPOPCNT) (value of type uintptr) is not constant
lint-code
cannot use cpu.S390X.HasVX (variable of type bool) as unsafe.ArbitraryType value in argument to unsafe.Offsetof
lint-code
unsafe.Offsetof(cpu.S390X.HasVX) (value of type uintptr) is not constant
lint-code
cannot use cpu.PPC64.IsPOWER9 (variable of type bool) as unsafe.ArbitraryType value in argument to unsafe.Offsetof
lint-code
unsafe.Offsetof(cpu.PPC64.IsPOWER9) (value of type uintptr) is not constant
lint-golang: pkg/kclusterManager/controller.go#L1
: # github.com/koffloader-io/koffloader/pkg/kclusterManager
lint-golang: pkg/kclusterManager/controller.go#L169
factory.koffloader undefined (type externalversions.SharedInformerFactory has no field or method koffloader, but does have Koffloader)
lint-golang: pkg/kclusterManager/controller_worker.go#L40
s.k8sclient.koffloaderV1 undefined (type "github.com/koffloader-io/koffloader/pkg/k8s/client/clientset/versioned".Interface has no field or method koffloaderV1, but does have KoffloaderV1) (typecheck)
lint-golang: cmd/controller/cmd/daemon.go#L9
could not import github.com/koffloader-io/koffloader/pkg/kclusterManager (-: # github.com/koffloader-io/koffloader/pkg/kclusterManager
lint-golang: pkg/kclusterManager/controller.go#L169
factory.koffloader undefined (type externalversions.SharedInformerFactory has no field or method koffloader, but does have Koffloader)
lint-golang: pkg/kclusterManager/controller_worker.go#L40
s.k8sclient.koffloaderV1 undefined (type "github.com/koffloader-io/koffloader/pkg/k8s/client/clientset/versioned".Interface has no field or method koffloaderV1, but does have KoffloaderV1)) (typecheck)
lint-golang
golangci-lint exit with code 4
lint-golang
Process completed with exit code 2.
lint-golang
Process completed with exit code 1.
unitest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, actions/checkout@v3, codecov/codecov-action@v3.1.4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
unitest
Restore cache failed: Dependencies file is not found in /home/runner/work/koffloader/koffloader. Supported file pattern: go.sum
lint-code
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint-code
Restore cache failed: Dependencies file is not found in /home/runner/work/koffloader/koffloader. Supported file pattern: go.sum
lint-golang
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, actions/checkout@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint-golang
Restore cache failed: Dependencies file is not found in /home/runner/work/koffloader/koffloader. Supported file pattern: go.sum