Skip to content

feat: bsc-mev-sentry #3

feat: bsc-mev-sentry

feat: bsc-mev-sentry #3

Triggered via pull request March 7, 2024 09:09
@irrunirrun
synchronize #2
re/framwork
Status Failure
Total duration 1m 55s
Artifacts

lint.yml

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

Annotations

9 errors and 1 warning
golang-lint (1.21.x, ubuntu-latest): log/internal/zap/json_encoder.go#L201
unnecessary conversion (unconvert)
golang-lint (1.21.x, ubuntu-latest): log/internal/zap/json_encoder.go#L389
func `(*zapJsonEncoder).truncate` is unused (unused)
golang-lint (1.21.x, ubuntu-latest): node/validator.go#L81
field `chainID` is unused (unused)
golang-lint (1.21.x, ubuntu-latest): log/internal/zap/logger.go#L312
unnecessary trailing newline (whitespace)
golang-lint (1.21.x, ubuntu-latest): utils/string.go#L14
SA1019: reflect.SliceHeader has been deprecated since Go 1.21 and an alternative has been available since Go 1.17: Use unsafe.Slice or unsafe.SliceData instead. (staticcheck)
golang-lint (1.21.x, ubuntu-latest): gin/panic_recovery.go#L6
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)
golang-lint (1.21.x, ubuntu-latest): log/async_file_writer_test.go#L4
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)
golang-lint (1.21.x, ubuntu-latest): log/logger_test.go#L5
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)
golang-lint (1.21.x, ubuntu-latest)
issues found
golang-lint (1.21.x, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3, actions/cache@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/.