Skip to content

Enable tests that were muted during migration 7.17 #21793

Enable tests that were muted during migration 7.17

Enable tests that were muted during migration 7.17 #21793

Triggered via pull request August 13, 2024 13:14
Status Failure
Total duration 8m 6s
Artifacts

golangci-lint.yml

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

Annotations

21 errors and 8 warnings
lint (windows): auditbeat/module/file_integrity/fileinfo_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 (windows): auditbeat/module/file_integrity/fileinfo_test.go#L43
Error return value of `f.Sync` is not checked (errcheck)
lint (windows): auditbeat/module/file_integrity/fileinfo_test.go#L109
Error return value of `f.Sync` is not checked (errcheck)
lint (windows): 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 (windows): auditbeat/module/file_integrity/metricset_test.go#L52
Error return value of `ioutil.WriteFile` is not checked (errcheck)
lint (windows): auditbeat/module/file_integrity/metricset_test.go#L139
Error return value of `ioutil.WriteFile` is not checked (errcheck)
lint (windows): auditbeat/module/file_integrity/metricset_test.go#L140
Error return value of `ioutil.WriteFile` is not checked (errcheck)
lint (windows): auditbeat/module/file_integrity/metricset_test.go#L342
Error return value of `f.WriteString` is not checked (errcheck)
lint (windows): auditbeat/module/file_integrity/metricset_test.go#L343
Error return value of `f.Sync` is not checked (errcheck)
lint (windows): auditbeat/module/file_integrity/metricset_test.go#L370
G601: Implicit memory aliasing in for loop. (gosec)
lint (linux): auditbeat/module/file_integrity/fileinfo_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/fileinfo_test.go#L43
Error return value of `f.Sync` is not checked (errcheck)
lint (linux): auditbeat/module/file_integrity/fileinfo_test.go#L109
Error return value of `f.Sync` is not checked (errcheck)
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#L139
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#L342
Error return value of `f.WriteString` is not checked (errcheck)
lint (linux): auditbeat/module/file_integrity/metricset_test.go#L343
Error return value of `f.Sync` is not checked (errcheck)
lint (linux): auditbeat/module/file_integrity/metricset_test.go#L370
G601: Implicit memory aliasing in for loop. (gosec)
lint (darwin)
The job was canceled because "windows" failed.
lint (windows)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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 (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']