Skip to content

[NH-78392] Add golangci-lint to GHA #98

[NH-78392] Add golangci-lint to GHA

[NH-78392] Add golangci-lint to GHA #98

Triggered via pull request April 19, 2024 16:24
Status Failure
Total duration 2m 59s
Artifacts

test.yaml

on: pull_request
License header check
3s
License header check
`gofmt` check
8s
`gofmt` check
lint
2m 49s
lint
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 5 warnings
lint: internal/hdrhist/encode.go#L42
Error return value of `binary.Write` is not checked (errcheck)
lint: internal/hdrhist/encode.go#L46
Error return value is not checked (errcheck)
lint: internal/hdrhist/encode.go#L60
Error return value of `binary.Write` is not checked (errcheck)
lint: internal/hdrhist/encode.go#L64
Error return value of `binary.Write` is not checked (errcheck)
lint: internal/hdrhist/log_writer.go#L95
Error return value is not checked (errcheck)
lint: internal/utils/utils.go#L32
Error return value of `bson.Unmarshal` is not checked (errcheck)
lint: internal/metrics/metrics_test.go#L43
Error return value of `mbson.Unmarshal` is not checked (errcheck)
lint: internal/metrics/metrics_test.go#L226
Error return value of `me.recordWithSoloTags` is not checked (errcheck)
lint: internal/metrics/metrics_test.go#L227
Error return value of `me.recordWithSoloTags` is not checked (errcheck)
lint: internal/metrics/metrics_test.go#L238
Error return value of `me.recordWithSoloTags` is not checked (errcheck)
License header check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
`gofmt` check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Go 1.21 tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Go 1.20 tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Go 1.20 tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/