Skip to content

Update 8.x from main #11595

Update 8.x from main

Update 8.x from main #11595

Triggered via pull request September 10, 2024 07:32
Status Failure
Total duration 4m 23s
Artifacts

golangci-lint.yml

on: pull_request
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 1 warning
lint (macos-latest)
SA4023(related information): github.com/dolmen-go/contextio.NewReader never returns a nil interface value (staticcheck)
lint (macos-latest): dev-tools/cmd/buildfleetcfg/buildfleetcfg.go#L86
Error return value of `os.WriteFile` is not checked (errcheck)
lint (macos-latest): dev-tools/cmd/buildfleetcfg/buildfleetcfg.go#L97
ST1005: error strings should not be capitalized (stylecheck)
lint (macos-latest): dev-tools/cmd/buildfleetcfg/buildfleetcfg.go#L101
Error return value of `tmpl.Execute` is not checked (errcheck)
lint (macos-latest): dev-tools/licenses/license_generate.go#L61
Error return value of `Template.Execute` is not checked (errcheck)
lint (macos-latest): dev-tools/licenses/license_generate.go#L73
Error return value of `os.WriteFile` is not checked (errcheck)
lint (macos-latest): dev-tools/mage/check.go#L27
directive `//nolint:forbidigo // it's ok to use fmt.println in mage` is unused for linter "forbidigo" (nolintlint)
lint (macos-latest): dev-tools/mage/check.go#L72
directive `//nolint:forbidigo // it's ok to use fmt.println in mage` is unused for linter "forbidigo" (nolintlint)
lint (macos-latest): dev-tools/mage/gotool/go.go#L213
func `runGo` is unused (unused)
lint (macos-latest): dev-tools/mage/kubernetes/kubectl.go#L100
func `kubectlStart` is unused (unused)
lint (windows-latest)
The job was canceled because "macos-latest" failed.
lint (windows-latest)
The operation was canceled.
lint (ubuntu-latest)
The job was canceled because "macos-latest" failed.
lint (ubuntu-latest)
The operation was canceled.
lint (ubuntu-latest)
Failed to save: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 1