fix(storage): Refactor improving performance and atomicity. #55
main.yaml
on: pull_request
Go Linter
/
lint
1m 13s
Go Test
/
test
54s
Go Test
/
test-with-race
1m 4s
Annotations
10 errors and 6 warnings
Go Linter / lint:
fetch/fetch.go#L232
deferInLoop: Possible resource leak, 'defer' is called in the 'for' loop (gocritic)
|
Go Linter / lint:
fetch/fetch.go#L232
Error return value of `wb.Rollback` is not checked (errcheck)
|
Go Linter / lint:
fetch/fetch.go#L233
return with no blank line before (nlreturn)
|
Go Linter / lint:
internal/mock/storage.go#L45
`commited` is a misspelling of `committed` (misspell)
|
Go Linter / lint:
storage/pebble.go#L41
if statements should only be cuddled with assignments (wsl)
|
Go Linter / lint:
storage/pebble.go#L56
if statements should only be cuddled with assignments (wsl)
|
Go Linter / lint:
storage/pebble.go#L71
if statements should only be cuddled with assignments (wsl)
|
Go Linter / lint:
storage/pebble.go#L118
return with no blank line before (nlreturn)
|
Go Linter / lint:
storage/pebble.go#L118
return statements should not be cuddled if block has more than two lines (wsl)
|
Go Linter / lint:
storage/pebble.go#L123
File is not `gofumpt`-ed (gofumpt)
|
Go Test / test
Restore cache failed: Dependencies file is not found in /home/runner/work/tx-indexer/tx-indexer. Supported file pattern: go.sum
|
Go Test / test-with-race
Restore cache failed: Dependencies file is not found in /home/runner/work/tx-indexer/tx-indexer. Supported file pattern: go.sum
|
Go Linter / lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Go Linter / lint:
storage/types.go#L18
exported: type name will be used as storage.StorageRead by other packages, and that stutters; consider calling this Read (revive)
|
Go Linter / lint:
storage/types.go#L31
exported: type name will be used as storage.StorageWrite by other packages, and that stutters; consider calling this Write (revive)
|
Go Linter / lint
Restore cache failed: Dependencies file is not found in /home/runner/work/tx-indexer/tx-indexer. Supported file pattern: go.sum
|