Skip to content

[7.17](backport #37827) Snapshot packaging stage migration #16174

[7.17](backport #37827) Snapshot packaging stage migration

[7.17](backport #37827) Snapshot packaging stage migration #16174

Triggered via pull request March 20, 2024 09:14
Status Failure
Total duration 5m 52s
Artifacts

golangci-lint.yml

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

Annotations

11 errors and 8 warnings
lint (linux): auditbeat/module/file_integrity/metricset_test.go#L22
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 (linux): auditbeat/module/file_integrity/metricset_test.go#L52
Error return value of `ioutil.WriteFile` is not checked (errcheck)
lint (linux): auditbeat/module/file_integrity/metricset_test.go#L140
Error return value of `ioutil.WriteFile` is not checked (errcheck)
lint (linux): auditbeat/module/file_integrity/metricset_test.go#L141
Error return value of `ioutil.WriteFile` is not checked (errcheck)
lint (linux): auditbeat/module/file_integrity/metricset_test.go#L345
Error return value of `f.WriteString` is not checked (errcheck)
lint (linux): auditbeat/module/file_integrity/metricset_test.go#L346
Error return value of `f.Sync` is not checked (errcheck)
lint (linux): auditbeat/module/file_integrity/metricset_test.go#L373
G601: Implicit memory aliasing in for loop. (gosec)
lint (linux): auditbeat/module/file_integrity/metricset_test.go#L374
G601: Implicit memory aliasing in for loop. (gosec)
lint (linux)
issues found
lint (windows)
The job was canceled because "linux" failed.
lint (windows)
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 (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']
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']