Skip to content

downgrade go to 1.22 because 1.23 fails the test #170

downgrade go to 1.22 because 1.23 fails the test

downgrade go to 1.22 because 1.23 fails the test #170

Triggered via push August 19, 2024 09:11
Status Success
Total duration 2m 50s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
lint
Cannot open: File exists
lint: common/encoding.go#L314
Error return value of `enc.WriteByte` is not checked (errcheck)
lint: common/encoding.go#L329
Error return value of `enc.WriteByte` is not checked (errcheck)
lint: common/encoding.go#L341
Error return value of `enc.WriteByte` is not checked (errcheck)
lint: crypto/blake2b_test.go#L58
Error return value of `x.Read` is not checked (errcheck)
lint: p2p/sync.go#L102
Error return value of `me.SendSnapshotFinalizationMessage` is not checked (errcheck)
lint: kernel/boot.go#L17
Error return value of `node.loopCacheQueue` is not checked (errcheck)
lint: kernel/cosi.go#L94
Error return value of `chain.node.Peer.SendTransactionRequestMessage` is not checked (errcheck)
lint: kernel/cosi.go#L413
Error return value of `chain.AppendCosiAction` is not checked (errcheck)
lint: kernel/cosi.go#L524
Error return value of `chain.AppendCosiAction` is not checked (errcheck)
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
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/round.go#L15
var-naming: struct field NodeId should be NodeID (revive)
lint: common/round.go#L44
var-naming: func parameter nodeId should be nodeID (revive)
lint: common/custodian_test.go#L14
var-naming: const mainnetId should be mainnetID (revive)
lint: common/custodian_test.go#L128
var-naming: var nodeId should be nodeID (revive)
lint: common/custodian_test.go#L163
unused-parameter: parameter 'require' seems to be unused, consider removing or renaming it as _ (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)