Skip to content

Merge pull request #5 from KiraCore/bugfix/typos #18

Merge pull request #5 from KiraCore/bugfix/typos

Merge pull request #5 from KiraCore/bugfix/typos #18

Triggered via push November 14, 2025 00:35
Status Success
Total duration 1m 51s
Artifacts

lint.yml

on: push
Validate Branch Name
3s
Validate Branch Name
Matrix: Go Lint
Fit to window
Zoom out
Zoom in

Annotations

34 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#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/utils/utils.go#L4
S1005: unnecessary assignment to the blank identifier (gosimple)
Go Lint (worker/sai-storage-mongo): worker/sai-storage-mongo/internal/handlers.go#L325
func `InternalService.convertData` is unused (unused)
Go Lint (worker/sai-storage-mongo): worker/sai-storage-mongo/internal/actions/aggregateAction.go#L38
func `(*AggregateAction).process` is unused (unused)
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/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/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/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/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/p2p/net/server.go#L802
S1005: unnecessary assignment to the blank identifier (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#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/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