Skip to content

100% test coverage for validation.go #537

100% test coverage for validation.go

100% test coverage for validation.go #537

Triggered via pull request January 20, 2026 13:18
Status Failure
Total duration 1m 36s
Artifacts

main.yml

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

Annotations

60 errors
test / test (1.24, ubuntu-latest): consensus/validation_test.go#L4051
unnecessary trailing newline (whitespace)
test / test (1.24, ubuntu-latest): consensus/validation_test.go#L4011
unnecessary trailing newline (whitespace)
test / test (1.24, ubuntu-latest): consensus/validation_test.go#L3968
unnecessary trailing newline (whitespace)
test / test (1.24, ubuntu-latest): consensus/validation_test.go#L3898
unnecessary trailing newline (whitespace)
test / test (1.24, ubuntu-latest): consensus/validation_test.go#L6706
appendAssign: append result not assigned to the same slice (gocritic)
test / test (1.24, ubuntu-latest): consensus/validation_test.go#L6651
appendAssign: append result not assigned to the same slice (gocritic)
test / test (1.24, ubuntu-latest): consensus/validation_test.go#L6596
appendAssign: append result not assigned to the same slice (gocritic)
test / test (1.24, ubuntu-latest): consensus/validation_test.go#L6542
appendAssign: append result not assigned to the same slice (gocritic)
test / test (1.24, ubuntu-latest): consensus/validation_test.go#L6516
appendAssign: append result not assigned to the same slice (gocritic)
test / test (1.24, ubuntu-latest): consensus/validation_test.go#L857
assignOp: replace `txn.Signatures[0].Timelock = txn.Signatures[0].Timelock + 100` with `txn.Signatures[0].Timelock += 100` (gocritic)
test / test (1.25, ubuntu-latest): consensus/validation_test.go#L4051
unnecessary trailing newline (whitespace)
test / test (1.25, ubuntu-latest): consensus/validation_test.go#L4011
unnecessary trailing newline (whitespace)
test / test (1.25, ubuntu-latest): consensus/validation_test.go#L3968
unnecessary trailing newline (whitespace)
test / test (1.25, ubuntu-latest): consensus/validation_test.go#L3898
unnecessary trailing newline (whitespace)
test / test (1.25, ubuntu-latest): consensus/validation_test.go#L6706
appendAssign: append result not assigned to the same slice (gocritic)
test / test (1.25, ubuntu-latest): consensus/validation_test.go#L6651
appendAssign: append result not assigned to the same slice (gocritic)
test / test (1.25, ubuntu-latest): consensus/validation_test.go#L6596
appendAssign: append result not assigned to the same slice (gocritic)
test / test (1.25, ubuntu-latest): consensus/validation_test.go#L6542
appendAssign: append result not assigned to the same slice (gocritic)
test / test (1.25, ubuntu-latest): consensus/validation_test.go#L6516
appendAssign: append result not assigned to the same slice (gocritic)
test / test (1.25, ubuntu-latest): consensus/validation_test.go#L857
assignOp: replace `txn.Signatures[0].Timelock = txn.Signatures[0].Timelock + 100` with `txn.Signatures[0].Timelock += 100` (gocritic)
test / test (1.25, macos-latest): consensus/validation_test.go#L4051
unnecessary trailing newline (whitespace)
test / test (1.25, macos-latest): consensus/validation_test.go#L4011
unnecessary trailing newline (whitespace)
test / test (1.25, macos-latest): consensus/validation_test.go#L3968
unnecessary trailing newline (whitespace)
test / test (1.25, macos-latest): consensus/validation_test.go#L3898
unnecessary trailing newline (whitespace)
test / test (1.25, macos-latest): consensus/validation_test.go#L6706
appendAssign: append result not assigned to the same slice (gocritic)
test / test (1.25, macos-latest): consensus/validation_test.go#L6651
appendAssign: append result not assigned to the same slice (gocritic)
test / test (1.25, macos-latest): consensus/validation_test.go#L6596
appendAssign: append result not assigned to the same slice (gocritic)
test / test (1.25, macos-latest): consensus/validation_test.go#L6542
appendAssign: append result not assigned to the same slice (gocritic)
test / test (1.25, macos-latest): consensus/validation_test.go#L6516
appendAssign: append result not assigned to the same slice (gocritic)
test / test (1.25, macos-latest): consensus/validation_test.go#L857
assignOp: replace `txn.Signatures[0].Timelock = txn.Signatures[0].Timelock + 100` with `txn.Signatures[0].Timelock += 100` (gocritic)
test / test (1.24, macos-latest): consensus/validation_test.go#L4051
unnecessary trailing newline (whitespace)
test / test (1.24, macos-latest): consensus/validation_test.go#L4011
unnecessary trailing newline (whitespace)
test / test (1.24, macos-latest): consensus/validation_test.go#L3968
unnecessary trailing newline (whitespace)
test / test (1.24, macos-latest): consensus/validation_test.go#L3898
unnecessary trailing newline (whitespace)
test / test (1.24, macos-latest): consensus/validation_test.go#L6706
appendAssign: append result not assigned to the same slice (gocritic)
test / test (1.24, macos-latest): consensus/validation_test.go#L6651
appendAssign: append result not assigned to the same slice (gocritic)
test / test (1.24, macos-latest): consensus/validation_test.go#L6596
appendAssign: append result not assigned to the same slice (gocritic)
test / test (1.24, macos-latest): consensus/validation_test.go#L6542
appendAssign: append result not assigned to the same slice (gocritic)
test / test (1.24, macos-latest): consensus/validation_test.go#L6516
appendAssign: append result not assigned to the same slice (gocritic)
test / test (1.24, macos-latest): consensus/validation_test.go#L857
assignOp: replace `txn.Signatures[0].Timelock = txn.Signatures[0].Timelock + 100` with `txn.Signatures[0].Timelock += 100` (gocritic)
test / test (1.24, windows-latest): consensus/validation_test.go#L4051
unnecessary trailing newline (whitespace)
test / test (1.24, windows-latest): consensus/validation_test.go#L4011
unnecessary trailing newline (whitespace)
test / test (1.24, windows-latest): consensus/validation_test.go#L3968
unnecessary trailing newline (whitespace)
test / test (1.24, windows-latest): consensus/validation_test.go#L3898
unnecessary trailing newline (whitespace)
test / test (1.24, windows-latest): consensus/validation_test.go#L6706
appendAssign: append result not assigned to the same slice (gocritic)
test / test (1.24, windows-latest): consensus/validation_test.go#L6651
appendAssign: append result not assigned to the same slice (gocritic)
test / test (1.24, windows-latest): consensus/validation_test.go#L6596
appendAssign: append result not assigned to the same slice (gocritic)
test / test (1.24, windows-latest): consensus/validation_test.go#L6542
appendAssign: append result not assigned to the same slice (gocritic)
test / test (1.24, windows-latest): consensus/validation_test.go#L6516
appendAssign: append result not assigned to the same slice (gocritic)
test / test (1.24, windows-latest): consensus/validation_test.go#L857
assignOp: replace `txn.Signatures[0].Timelock = txn.Signatures[0].Timelock + 100` with `txn.Signatures[0].Timelock += 100` (gocritic)
test / test (1.25, windows-latest): consensus/validation_test.go#L4051
unnecessary trailing newline (whitespace)
test / test (1.25, windows-latest): consensus/validation_test.go#L4011
unnecessary trailing newline (whitespace)
test / test (1.25, windows-latest): consensus/validation_test.go#L3968
unnecessary trailing newline (whitespace)
test / test (1.25, windows-latest): consensus/validation_test.go#L3898
unnecessary trailing newline (whitespace)
test / test (1.25, windows-latest): consensus/validation_test.go#L6706
appendAssign: append result not assigned to the same slice (gocritic)
test / test (1.25, windows-latest): consensus/validation_test.go#L6651
appendAssign: append result not assigned to the same slice (gocritic)
test / test (1.25, windows-latest): consensus/validation_test.go#L6596
appendAssign: append result not assigned to the same slice (gocritic)
test / test (1.25, windows-latest): consensus/validation_test.go#L6542
appendAssign: append result not assigned to the same slice (gocritic)
test / test (1.25, windows-latest): consensus/validation_test.go#L6516
appendAssign: append result not assigned to the same slice (gocritic)
test / test (1.25, windows-latest): consensus/validation_test.go#L857
assignOp: replace `txn.Signatures[0].Timelock = txn.Signatures[0].Timelock + 100` with `txn.Signatures[0].Timelock += 100` (gocritic)