Skip to content

Feat: Remove unused code #3404

Feat: Remove unused code

Feat: Remove unused code #3404

Triggered via pull request April 22, 2024 11:52
Status Failure
Total duration 2m 12s
Artifacts

golangci-lint.yml

on: pull_request
GolangCI-Lint
2m 3s
GolangCI-Lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
GolangCI-Lint: pkg/core/promise/promise.go#L64
var `key` is unused (unused)
GolangCI-Lint: pkg/core/promise/promise.go#L70
var `key` is unused (unused)
GolangCI-Lint: pkg/core/promise/promise.go#L101
var `key` is unused (unused)
GolangCI-Lint: pkg/core/promise/promise.go#L107
var `key` is unused (unused)
GolangCI-Lint: pkg/protocol/engine/clock/clock.go#L20
var `newTime` is unused (unused)
GolangCI-Lint: pkg/core/buffer/unsolid_commitment_buffer.go#L17
var `value` is unused (unused)
GolangCI-Lint: pkg/core/buffer/unsolid_commitment_buffer.go#L41
var `_` is unused (unused)
GolangCI-Lint: pkg/core/buffer/unsolid_commitment_buffer.go#L146
var `_` is unused (unused)
GolangCI-Lint: pkg/protocol/engine/consensus/slotgadget/slotgadget.go#L10
var `targetSlot` is unused (unused)
GolangCI-Lint: pkg/votes/slottracker/slottracker.go#L40
var `exists` is unused (unused)
GolangCI-Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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/.