Skip to content

Add golangci-lint

Add golangci-lint #553

Triggered via pull request December 7, 2023 17:50
Status Failure
Total duration 40s
Artifacts

test.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 14 warnings
test (ubuntu-latest, 1.21)
issues found
test (windows-latest, 1.20)
The job was canceled because "ubuntu-latest_1_21" failed.
test (windows-latest, 1.20)
The operation was canceled.
test (windows-latest, 1.21)
The job was canceled because "ubuntu-latest_1_21" failed.
test (ubuntu-latest, 1.20)
The job was canceled because "ubuntu-latest_1_21" failed.
test (ubuntu-latest, 1.20)
issues found
test (macos-latest, 1.21)
The job was canceled because "ubuntu-latest_1_21" failed.
test (macos-latest, 1.21)
The operation was canceled.
test (macos-latest, 1.20)
The job was canceled because "ubuntu-latest_1_21" failed.
test (macos-latest, 1.20)
The operation was canceled.
test (ubuntu-latest, 1.21): consensus/validation_test.go#L1033
bool-literal-in-expr: omit Boolean literal in expression (revive)
test (ubuntu-latest, 1.21): consensus/validation_test.go#L1073
bool-literal-in-expr: omit Boolean literal in expression (revive)
test (ubuntu-latest, 1.21): consensus/validation_test.go#L1292
struct-tag: malformed tag (revive)
test (ubuntu-latest, 1.21): consensus/validation_test.go#L1293
struct-tag: malformed tag (revive)
test (ubuntu-latest, 1.21): rhp/v2/rhp.go#L306
exported: exported type RPCCost should have comment or be unexported (revive)
test (ubuntu-latest, 1.21): rhp/v2/rhp.go#L314
exported: exported method RPCCost.Add should have comment or be unexported (revive)
test (ubuntu-latest, 1.21): rhp/v2/rhp.go#L324
exported: exported method RPCCost.Total should have comment or be unexported (revive)
test (ubuntu-latest, 1.20): rhp/v2/rhp.go#L306
exported: exported type RPCCost should have comment or be unexported (revive)
test (ubuntu-latest, 1.20): rhp/v2/rhp.go#L314
exported: exported method RPCCost.Add should have comment or be unexported (revive)
test (ubuntu-latest, 1.20): rhp/v2/rhp.go#L324
exported: exported method RPCCost.Total should have comment or be unexported (revive)
test (ubuntu-latest, 1.20): consensus/validation_test.go#L1033
bool-literal-in-expr: omit Boolean literal in expression (revive)
test (ubuntu-latest, 1.20): consensus/validation_test.go#L1073
bool-literal-in-expr: omit Boolean literal in expression (revive)
test (ubuntu-latest, 1.20): consensus/validation_test.go#L1292
struct-tag: malformed tag (revive)
test (ubuntu-latest, 1.20): consensus/validation_test.go#L1293
struct-tag: malformed tag (revive)