Fixed a linter issue #10542
go.yml
on: push
ubuntu
2m 57s
smoke_tests
0s
Matrix: lint
Annotations
24 errors and 2 warnings
lint (ubuntu-latest):
itests/net/connection.go#L23
The line is 130 characters long, which exceeds the maximum of 120 characters. (lll)
|
lint (ubuntu-latest):
itests/net/connection.go#L115
Magic number: 100, in <operation> detected (mnd)
|
lint (ubuntu-latest):
itests/net/connection.go#L116
Magic number: 500, in <operation> detected (mnd)
|
lint (ubuntu-latest):
itests/net/connection.go#L39
Magic number: 0x0, in <assign> detected (mnd)
|
lint (ubuntu-latest):
pkg/proto/microblock.go#L314
G115: integer overflow conversion int -> uint32 (gosec)
|
lint (ubuntu-latest):
pkg/proto/microblock.go#L354
G115: integer overflow conversion int -> uint32 (gosec)
|
lint (ubuntu-latest):
pkg/proto/microblock.go#L357
G115: integer overflow conversion int -> uint32 (gosec)
|
lint (ubuntu-latest):
pkg/proto/microblock.go#L571
G115: integer overflow conversion int -> uint32 (gosec)
|
lint (ubuntu-latest):
pkg/proto/proto.go#L972
G115: integer overflow conversion int -> uint32 (gosec)
|
lint (ubuntu-latest):
pkg/proto/proto.go#L975
G115: integer overflow conversion int -> uint32 (gosec)
|
lint (windows-latest)
The job was canceled because "ubuntu-latest" failed.
|
lint (windows-latest)
The operation was canceled.
|
lint (macos-latest)
The job was canceled because "ubuntu-latest" failed.
|
lint (macos-latest)
The operation was canceled.
|
ubuntu:
pkg/proto/microblock.go#L314
G115: integer overflow conversion int -> uint32 (gosec)
|
ubuntu:
pkg/proto/microblock.go#L354
G115: integer overflow conversion int -> uint32 (gosec)
|
ubuntu:
pkg/proto/microblock.go#L357
G115: integer overflow conversion int -> uint32 (gosec)
|
ubuntu:
pkg/proto/microblock.go#L571
G115: integer overflow conversion int -> uint32 (gosec)
|
ubuntu:
pkg/proto/proto.go#L972
G115: integer overflow conversion int -> uint32 (gosec)
|
ubuntu:
pkg/proto/proto.go#L975
G115: integer overflow conversion int -> uint32 (gosec)
|
ubuntu:
pkg/proto/proto.go#L1113
G115: integer overflow conversion int -> uint32 (gosec)
|
ubuntu:
pkg/proto/proto.go#L1195
G115: integer overflow conversion int -> uint32 (gosec)
|
ubuntu:
pkg/proto/proto.go#L1201
G115: integer overflow conversion int -> uint32 (gosec)
|
ubuntu:
pkg/proto/proto.go#L1204
G115: integer overflow conversion int -> uint32 (gosec)
|
lint (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ubuntu
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|