Enable tests that were muted during migration 7.17 #21793
Annotations
10 errors and 3 warnings
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)
|
auditbeat/module/file_integrity/fileinfo_test.go#L43
Error return value of `f.Sync` is not checked (errcheck)
|
auditbeat/module/file_integrity/fileinfo_test.go#L109
Error return value of `f.Sync` is not checked (errcheck)
|
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)
|
auditbeat/module/file_integrity/metricset_test.go#L52
Error return value of `ioutil.WriteFile` is not checked (errcheck)
|
auditbeat/module/file_integrity/metricset_test.go#L139
Error return value of `ioutil.WriteFile` is not checked (errcheck)
|
auditbeat/module/file_integrity/metricset_test.go#L140
Error return value of `ioutil.WriteFile` is not checked (errcheck)
|
auditbeat/module/file_integrity/metricset_test.go#L342
Error return value of `f.WriteString` is not checked (errcheck)
|
auditbeat/module/file_integrity/metricset_test.go#L343
Error return value of `f.Sync` is not checked (errcheck)
|
auditbeat/module/file_integrity/metricset_test.go#L370
G601: Implicit memory aliasing in for loop. (gosec)
|
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/
|
|
|
This job failed
Loading