Skip to content

new: driver command #581

new: driver command

new: driver command #581

Triggered via pull request November 6, 2023 13:35
Status Failure
Total duration 1m 4s
Artifacts

lint.yaml

on: pull_request
Lint golang files
55s
Lint golang files
Enforce go.mod tidiness
50s
Enforce go.mod tidiness
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
Lint golang files: pkg/driver/distro/generic.go#L77
whyNoLint: include an explanation for nolint directive (gocritic)
Lint golang files: pkg/driver/distro/minikube.go#L41
G304: Potential file inclusion via variable (gosec)
Lint golang files: pkg/driver/distro/rhel.go#L29
G304: Potential file inclusion via variable (gosec)
Lint golang files: pkg/driver/distro/generic.go#L60
line is 155 characters (lll)
Lint golang files: cmd/driver/prepare/prepare.go#L66
line is 162 characters (lll)
Lint golang files: pkg/driver/distro/debian.go#L35
S1007: should use raw string (`...`) with regexp.MustCompile to avoid having to escape twice (gosimple)
Lint golang files: pkg/driver/distro/minikube.go#L36
S1007: should use raw string (`...`) with regexp.MustCompile to avoid having to escape twice (gosimple)
Lint golang files: pkg/driver/distro/ubuntu.go#L34
S1007: should use raw string (`...`) with regexp.MustCompile to avoid having to escape twice (gosimple)
Lint golang files: pkg/driver/type/kmod.go#L16
ST1000: at least one file in a package should have a package comment (stylecheck)
Lint golang files: pkg/driver/type/modernbpf.go#L16
ST1000: at least one file in a package should have a package comment (stylecheck)
Lint golang files: pkg/driver/kernel/kernel.go#L16
package-comments: should have a package comment (revive)
Lint golang files: pkg/driver/type/bpf.go#L16
package-comments: should have a package comment (revive)
Lint golang files: pkg/driver/distro/amzn.go#L16
package-comments: should have a package comment (revive)
Lint golang files: cmd/driver/driver_linux.go#L18
package-comments: should have a package comment (revive)