cicd: Add sekin repository trigger and improve .gitignore #9
lint.yml
on: push
Validate Branch Name
4s
Matrix: Go Lint
Annotations
33 errors and 7 warnings
|
Go Lint (proxy)
issues found
|
|
Go Lint (proxy):
proxy/internal/service.go#L107
Error return value of `w.Write` is not checked (errcheck)
|
|
Go Lint (worker/sai-storage-mongo):
worker/sai-storage-mongo/mongo/client.go#L359
SA4004: the surrounding loop is unconditionally terminated (staticcheck)
|
|
Go Lint (worker/sai-storage-mongo):
worker/sai-storage-mongo/mongo/client.go#L107
SA4004: the surrounding loop is unconditionally terminated (staticcheck)
|
|
Go Lint (worker/sai-storage-mongo):
worker/sai-storage-mongo/mongo/client.go#L56
SA1019: host.Connect is deprecated: Use [mongo.Connect] instead. (staticcheck)
|
|
Go Lint (worker/sai-storage-mongo):
worker/sai-storage-mongo/mongo/client.go#L52
SA1019: mongo.NewClient is deprecated: Use [Connect] instead. (staticcheck)
|
|
Go Lint (worker/sai-storage-mongo):
worker/sai-storage-mongo/mongo/client.go#L47
SA1019: host.Connect is deprecated: Use [mongo.Connect] instead. (staticcheck)
|
|
Go Lint (worker/sai-storage-mongo):
worker/sai-storage-mongo/mongo/client.go#L45
SA1019: mongo.NewClient is deprecated: Use [Connect] instead. (staticcheck)
|
|
Go Lint (worker/sai-storage-mongo):
worker/sai-storage-mongo/mongo/client.go#L148
composites: go.mongodb.org/mongo-driver/bson.E struct literal uses unkeyed fields (govet)
|
|
Go Lint (worker/sai-storage-mongo):
worker/sai-storage-mongo/mongo/client.go#L421
func `Client.preprocessDoc` is unused (unused)
|
|
Go Lint (worker/sai-storage-mongo):
worker/sai-storage-mongo/main.go#L33
Error return value of `client.Host.Disconnect` is not checked (errcheck)
|
|
Go Lint (worker/sai-storage-mongo):
worker/sai-storage-mongo/internal/handlers.go#L325
func `InternalService.convertData` is unused (unused)
|
|
|
|
Go Lint (worker/ethereum/sai-ethereum-contract-interaction):
worker/ethereum/sai-ethereum-contract-interaction/internal/contracts.go#L7
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
|
|
Go Lint (worker/ethereum/sai-ethereum-contract-interaction):
worker/ethereum/sai-ethereum-contract-interaction/internal/eth.go#L21
var `nonceList` is unused (unused)
|
|
Go Lint (worker/ethereum/sai-ethereum-contract-interaction):
worker/ethereum/sai-ethereum-contract-interaction/internal/service.go#L31
Error return value of `Service.getInitialContracts` is not checked (errcheck)
|
|
|
|
Go Lint (worker/ethereum/sai-ethereum-indexer/cmd/app):
worker/ethereum/sai-ethereum-indexer/cmd/app/main.go#L36
Error return value of `app.Run` is not checked (errcheck)
|
|
Go Lint (worker/ethereum/sai-ethereum-indexer/cmd/app):
worker/ethereum/sai-ethereum-indexer/cmd/app/main.go#L30
Error return value of `t.Logger.Sync` is not checked (errcheck)
|
|
Go Lint (manager):
manager/gateway/cosmos.go#L144
SA1006: printf-style function with dynamic format string and no further arguments should use print-style function instead (staticcheck)
|
|
Go Lint (manager):
manager/gateway/cosmos_agregated4.go#L423
ineffectual assignment to err (ineffassign)
|
|
Go Lint (manager):
manager/gateway/cosmos_agregated4.go#L467
S1028: should use fmt.Errorf(...) instead of errors.New(fmt.Sprintf(...)) (gosimple)
|
|
Go Lint (manager):
manager/gateway/cosmos_agregated3.go#L42
S1028: should use fmt.Errorf(...) instead of errors.New(fmt.Sprintf(...)) (gosimple)
|
|
Go Lint (manager):
manager/gateway/gateway.go#L76
func `(*BaseGateway).makeRequest` is unused (unused)
|
|
Go Lint (manager):
manager/gateway/cosmos_agregated.go#L64
func `(*CosmosGateway).supply` is unused (unused)
|
|
Go Lint (manager):
manager/p2p/net/server.go#L822
S1033: unnecessary guard around call to delete (gosimple)
|
|
Go Lint (manager):
manager/p2p/net/server.go#L813
S1033: unnecessary guard around call to delete (gosimple)
|
|
Go Lint (manager):
manager/p2p/net/server.go#L802
S1005: unnecessary assignment to the blank identifier (gosimple)
|
|
Go Lint (manager):
manager/p2p/net/server.go#L648
func `(*PeerManager).remotePeerExists` is unused (unused)
|
|
Go Lint (worker/cosmos/sai-cosmos-indexer)
issues found
|
|
Go Lint (worker/cosmos/sai-cosmos-indexer):
worker/cosmos/sai-cosmos-indexer/internal/service.go#L280
SA9003: empty branch (staticcheck)
|
|
Go Lint (worker/cosmos/sai-cosmos-indexer):
worker/cosmos/sai-cosmos-indexer/internal/block.go#L113
SA1006: printf-style function with dynamic format string and no further arguments should use print-style function instead (staticcheck)
|
|
Go Lint (worker/cosmos/sai-cosmos-indexer):
worker/cosmos/sai-cosmos-indexer/internal/wallet.go#L34
S1005: unnecessary assignment to the blank identifier (gosimple)
|
|
Go Lint (proxy)
Restore cache failed: Dependencies file is not found in /home/runner/work/interx/interx. Supported file pattern: go.sum
|
|
Go Lint (worker/sai-storage-mongo)
Restore cache failed: Dependencies file is not found in /home/runner/work/interx/interx. Supported file pattern: go.sum
|
|
Go Lint (worker/ethereum/sai-ethereum-contract-interaction)
Restore cache failed: Dependencies file is not found in /home/runner/work/interx/interx. Supported file pattern: go.sum
|
|
Go Lint (worker/ethereum/sai-ethereum-indexer/cmd/app)
Restore cache failed: Dependencies file is not found in /home/runner/work/interx/interx. Supported file pattern: go.sum
|
|
Go Lint (worker/cosmos/sai-cosmos-interaction)
Restore cache failed: Dependencies file is not found in /home/runner/work/interx/interx. Supported file pattern: go.sum
|
|
Go Lint (manager)
Restore cache failed: Dependencies file is not found in /home/runner/work/interx/interx. Supported file pattern: go.sum
|
|
Go Lint (worker/cosmos/sai-cosmos-indexer)
Restore cache failed: Dependencies file is not found in /home/runner/work/interx/interx. Supported file pattern: go.sum
|