Skip to content

fix packetbeat packaging - exclude darwin/arm64 package #14943

fix packetbeat packaging - exclude darwin/arm64 package

fix packetbeat packaging - exclude darwin/arm64 package #14943

Triggered via pull request February 12, 2024 09:22
Status Failure
Total duration 2m 43s
Artifacts

golangci-lint.yml

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

Annotations

12 errors and 10 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 operation was canceled.
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)
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 (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)
Failed to save: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 1
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)
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 (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']