chore(lint): upgrade golangci-lint & fix new lint errors #3733
check.yml
on: pull_request
Check (gen-check)
4m 8s
Check (lint-all)
4m 40s
Check (gofmt)
49s
Check (mod-tidy-check)
56s
Annotations
10 errors
Check (lint-all):
lib/shardedmutex/shardedmutex.go#L64
G115: integer overflow conversion uint64 -> int (gosec)
|
Check (lint-all):
lib/sqlite/sqlite.go#L41
G115: integer overflow conversion uint64 -> int (gosec)
|
Check (lint-all):
lib/sqlite/sqlite.go#L104
G115: integer overflow conversion int -> uint64 (gosec)
|
Check (lint-all):
storage/sealer/fsutil/statfs_unix.go#L21
G115: integer overflow conversion uint64 -> int64 (gosec)
|
Check (lint-all):
storage/sealer/fsutil/statfs_unix.go#L23
G115: integer overflow conversion uint64 -> int64 (gosec)
|
Check (lint-all):
storage/sealer/fsutil/statfs_unix.go#L24
G115: integer overflow conversion uint64 -> int64 (gosec)
|
Check (lint-all):
lib/backupds/cbor.go#L45
G115: integer overflow conversion int64 -> uint64 (gosec)
|
Check (lint-all):
blockstore/net_serve.go#L127
G115: integer overflow conversion int -> uint32 (gosec)
|
Check (lint-all):
storage/sealer/fr32/fr32.go#L30
G115: integer overflow conversion int -> uint64 (gosec)
|
Check (lint-all):
storage/sealer/fr32/fr32.go#L31
G115: integer overflow conversion int -> uint32 (gosec)
|