Skip to content

feat: expose nodeDB's DeleteVersionsFrom method #4

feat: expose nodeDB's DeleteVersionsFrom method

feat: expose nodeDB's DeleteVersionsFrom method #4

Triggered via pull request June 24, 2024 22:41
Status Failure
Total duration 31s
Artifacts

lint.yml

on: pull_request
golangci-lint
23s
golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
golangci-lint: internal/bytes/bytes.go#L60
Error return value of `s.Write` is not checked (errcheck)
golangci-lint: internal/bytes/bytes.go#L62
Error return value of `s.Write` is not checked (errcheck)
golangci-lint: benchmarks/bench_test.go#L351
File is not `gofumpt`-ed (gofumpt)
golangci-lint: nodedb.go#L482
File is not `gofumpt`-ed (gofumpt)
golangci-lint: nodedb.go#L494
File is not `gofumpt`-ed (gofumpt)
golangci-lint: nodedb.go#L568
File is not `gofumpt`-ed (gofumpt)
golangci-lint: nodedb.go#L1081
File is not `gofumpt`-ed (gofumpt)
golangci-lint: nodedb.go#L1104
File is not `gofumpt`-ed (gofumpt)
golangci-lint: mutable_tree.go#L961
directive `// nolint: unused` is unused for linter "unused" (nolintlint)
golangci-lint
issues found
golangci-lint
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/.
golangci-lint: keyformat/key_format.go#L122
superfluous-else: if block ends with a break statement, so drop this else and outdent its block (revive)
golangci-lint: internal/rand/random.go#L100
superfluous-else: if block ends with a continue statement, so drop this else and outdent its block (revive)
golangci-lint: benchmarks/bench_test.go#L211
redefines-builtin-id: redefinition of the built-in function real (revive)
golangci-lint: benchmarks/bench_test.go#L359
superfluous-else: if block ends with a continue statement, so drop this else and outdent its block (revive)
golangci-lint: diff_test.go#L42
unused-parameter: parameter 'version' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: basic_test.go#L414
unused-parameter: parameter 'value' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: testutils_test.go#L98
unused-parameter: parameter 'value' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: tree_random_test.go#L317
unused-parameter: parameter 'value' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: tree_random_test.go#L371
unused-parameter: parameter 'k' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: export.go#L93
empty-block: this block is empty, you can remove it (revive)