Skip to content

Transaction filter

Transaction filter #94

Triggered via pull request March 26, 2024 11:26
Status Failure
Total duration 1m 20s
Artifacts

main.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
Go Linter / lint: serve/filters/filter/tx.go#L8
File is not `goimports`-ed (goimports)
Go Linter / lint: serve/filters/filter/tx.go#L8
File is not `gofumpt`-ed (gofumpt)
Go Linter / lint: serve/filters/filter/tx.go#L8
File is not `gofmt`-ed with `-s` (gofmt)
Go Linter / lint: serve/filters/filter/tx.go#L36
Consider pre-allocating `hashes` (prealloc)
Go Linter / lint: serve/filters/filter/tx.go#L37
ranges should only be cuddled with assignments used in the iteration (wsl)
Go Linter / lint: serve/filters/filter/tx.go#L69
Consider pre-allocating `filtered` (prealloc)
Go Linter / lint: serve/filters/filter/tx_test.go#L17
File is not `gofumpt`-ed (gofumpt)
Go Linter / lint: serve/filters/filter/tx_test.go#L35
only one cuddle assignment allowed before range statement (wsl)
Go Linter / lint: serve/filters/filter/tx_test.go#L40
TestApplyFilters's subtests should call t.Parallel (tparallel)
Go Linter / lint: serve/filters/filter/tx_test.go#L43
File is not `gofumpt`-ed (gofumpt)
Go Linter / lint: serve/filters/filter/tx.go#L7
exported: type name will be used as filter.FilterOptions by other packages, and that stutters; consider calling this Options (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
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