Skip to content

update Go version in CI #5

update Go version in CI

update Go version in CI #5

Triggered via push September 18, 2024 13:40
Status Success
Total duration 3m 27s
Artifacts

lint.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 5 warnings
lint: cmd/create.go#L6
import 'github.com/sirupsen/logrus' is not allowed from list 'Main' (depguard)
lint: cmd/create.go#L7
import 'github.com/spf13/cobra' is not allowed from list 'Main' (depguard)
lint: cmd/create.go#L9
import 'github.com/kubeshop/kube-webhook-certgen/pkg/certs' is not allowed from list 'Main' (depguard)
lint: cmd/create.go#L10
import 'github.com/kubeshop/kube-webhook-certgen/pkg/k8s' is not allowed from list 'Main' (depguard)
lint: cmd/create.go#L57
don't use `init` function (gochecknoinits)
lint: cmd/create.go#L64
Error return value of `create.MarkFlagRequired` is not checked (errcheck)
lint: cmd/create.go#L65
Error return value of `create.MarkFlagRequired` is not checked (errcheck)
lint: cmd/create.go#L66
Error return value of `create.MarkFlagRequired` is not checked (errcheck)
lint: cmd/patch.go#L7
import 'github.com/pkg/errors' is not allowed from list 'Main' (depguard)
lint: cmd/patch.go#L8
import 'github.com/sirupsen/logrus' 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. 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 following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3, actions/checkout@v2, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint: cmd/patch.go#L29
unreachable-code: unreachable code after this statement (revive)
lint: cmd/version.go#L18
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
lint: pkg/certs/certs_test.go#L17
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)