Skip to content

Enable golangci-lint and go unit test github actions #12

Enable golangci-lint and go unit test github actions

Enable golangci-lint and go unit test github actions #12

Triggered via pull request February 8, 2024 08:55
@kkekke
synchronize #409
lint-workflow
Status Failure
Total duration 55s
Artifacts

golangci-lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Lint: pkg/product/mke/phase/pull_mke_images.go#L92
File is not `gofumpt`-ed (gofumpt)
Lint: cmd/apply.go#L83
File is not `gofumpt`-ed (gofumpt)
Lint: cmd/describe.go#L64
File is not `gofumpt`-ed (gofumpt)
Lint: cmd/reset.go#L43
File is not `gofumpt`-ed (gofumpt)
Lint: pkg/util/install.go#L29
fmt.Sprintf can be replaced with string addition (perfsprint)
Lint: version/version.go#L161
fmt.Sprintf can be replaced with string addition (perfsprint)
Lint: pkg/docker/hub/hub.go#L22
fmt.Errorf can be replaced with errors.New (perfsprint)
Lint: pkg/product/mke/api/mke_config.go#L56
fmt.Errorf can be replaced with errors.New (perfsprint)
Lint: pkg/product/mke/api/msr_config.go#L29
fmt.Errorf can be replaced with errors.New (perfsprint)
Lint: pkg/configurer/linux.go#L115
fmt.Sprintf can be replaced with string addition (perfsprint)
Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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/.