Skip to content

Remove RSA2ELK deprecated modules #17798

Remove RSA2ELK deprecated modules

Remove RSA2ELK deprecated modules #17798

Triggered via pull request April 15, 2024 13:19
Status Failure
Total duration 2m 19s
Artifacts

golangci-lint.yml

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

Annotations

14 errors and 7 warnings
lint (darwin): auditbeat/module/file_integrity/fileorigin_darwin.go#L27
could not import C (cgo preprocessing failed) (typecheck)
lint (darwin): dev-tools/cmd/license/license_generate.go#L24
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint (darwin): dev-tools/cmd/license/license_generate.go#L87
Error return value of `Template.Execute` is not checked (errcheck)
lint (darwin): dev-tools/cmd/license/license_generate.go#L100
Error return value of `ioutil.WriteFile` is not checked (errcheck)
lint (darwin): dev-tools/cmd/module_fields/module_fields.go#L23
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint (darwin): dev-tools/cmd/module_fields/module_fields.go#L115
SA1006: printf-style function with dynamic format string and no further arguments should use print-style function instead (staticcheck)
lint (darwin): dev-tools/cmd/update_go/update_go_version.go#L23
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint (darwin): dev-tools/cmd/update_go/update_go_version.go#L68
use of `fmt.Printf` forbidden by pattern `fmt.Print.*` (forbidigo)
lint (darwin): dev-tools/mage/gotool/go.go#L227
func `runGo` is unused (unused)
lint (darwin): filebeat/generator/generator.go#L74
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
lint (windows)
The job was canceled because "darwin" failed.
lint (windows)
The operation was canceled.
lint (linux)
The job was canceled because "darwin" failed.
lint (linux)
The operation was canceled.
lint (darwin)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@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 (darwin)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
lint (darwin)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
lint (windows)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
lint (windows)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
lint (linux)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
lint (linux)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']