Skip to content

update go modules

update go modules #207

Triggered via push December 13, 2024 10:40
Status Success
Total duration 2m 58s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
lint: crypto/blake2b_test.go#L58
Error return value of `x.Read` is not checked (errcheck)
lint: rpc/consensus_test.go#L87
Error return value of `server.ListenAndServe` is not checked (errcheck)
lint: rpc/consensus_test.go#L88
Error return value of `node.Loop` is not checked (errcheck)
lint: rpc/consensus_test.go#L647
Error return value of `pnode.Loop` is not checked (errcheck)
lint: rpc/consensus_test.go#L650
Error return value of `server.ListenAndServe` is not checked (errcheck)
lint: rpc/consensus_test.go#L831
Error return value of `server.ListenAndServe` is not checked (errcheck)
lint: rpc/consensus_test.go#L832
Error return value of `node.Loop` is not checked (errcheck)
lint: main.go#L722
Error return value of `http.ListenAndServe` is not checked (errcheck)
lint: command.go#L51
use of `fmt.Printf` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
lint: command.go#L52
use of `fmt.Printf` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint: util/base58/base58check_test.go#L61
redefines-builtin-id: redefinition of the built-in function len (revive)
lint: config/reader.go#L14
var-naming: const KernelNetworkId should be KernelNetworkID (revive)
lint: common/space.go#L8
var-naming: struct field NodeId should be NodeID (revive)
lint: common/encoding.go#L327
redefines-builtin-id: redefinition of the built-in function max (revive)
lint: common/encoding.go#L207
increment-decrement: should replace off += 1 with off++ (revive)
lint: common/decoding.go#L125
increment-decrement: should replace il -= 1 with il-- (revive)
lint: common/decoding.go#L137
increment-decrement: should replace ol -= 1 with ol-- (revive)
lint: common/decoding.go#L149
increment-decrement: should replace rl -= 1 with rl-- (revive)
lint: common/decoding.go#L191
increment-decrement: should replace sl -= 1 with sl-- (revive)
lint: common/decoding.go#L313
increment-decrement: should replace kc -= 1 with kc-- (revive)