Skip to content

Add unit revised unit tests for the fetcher #22

Add unit revised unit tests for the fetcher

Add unit revised unit tests for the fetcher #22

Triggered via push January 10, 2024 18:16
Status Failure
Total duration 1m 57s
Billable time 5m
Artifacts

main.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 4 warnings
Go Linter / lint: cmd/start.go#L10
could not import github.com/gnolang/tx-indexer/fetch (-: # github.com/gnolang/tx-indexer/fetch
Go Linter / lint: fetch/slots.go#L68
undefined: min
Go Linter / lint: cmd/start.go#L10
could not import github.com/gnolang/tx-indexer/fetch (-: # github.com/gnolang/tx-indexer/fetch
Go Linter / lint: fetch/slots.go#L68
undefined: min
Go Linter / lint: cmd/start.go#L10
could not import github.com/gnolang/tx-indexer/fetch (-: # github.com/gnolang/tx-indexer/fetch
Go Linter / lint: fetch/slots.go#L68
undefined: min
Go Linter / lint: cmd/start.go#L10
could not import github.com/gnolang/tx-indexer/fetch (-: # github.com/gnolang/tx-indexer/fetch
Go Linter / lint: fetch/slots.go#L68
undefined: min
Go Linter / lint: cmd/start.go#L10
could not import github.com/gnolang/tx-indexer/fetch (-: # github.com/gnolang/tx-indexer/fetch
Go Linter / lint: fetch/slots.go#L68
undefined: min
Go Test / test: serve/filters/filter/block_test.go#L6
no required module provides package github.com/gnolang/tx-indexer/serve/handlers/subs/filters/mocks; to add it:
Go Test / test: serve/filters/filter/block_test.go#L6
no required module provides package github.com/gnolang/tx-indexer/serve/handlers/subs/filters/mocks; to add it:
Go Test / test: serve/filters/manager_test.go#L99
cannot use &mocks.MockBlock{…} (value of type *mocks.MockBlock) as *"github.com/gnolang/gno/tm2/pkg/bft/types".Block value in struct literal
Go Test / test
Process completed with exit code 1.
Go Test / test-with-race: serve/filters/filter/block_test.go#L6
no required module provides package github.com/gnolang/tx-indexer/serve/handlers/subs/filters/mocks; to add it:
Go Test / test-with-race: serve/filters/filter/block_test.go#L6
no required module provides package github.com/gnolang/tx-indexer/serve/handlers/subs/filters/mocks; to add it:
Go Test / test-with-race: serve/filters/manager_test.go#L99
cannot use &mocks.MockBlock{…} (value of type *mocks.MockBlock) as *"github.com/gnolang/gno/tm2/pkg/bft/types".Block value in struct literal
Go Test / test-with-race
Process completed with exit code 1.
Go Linter / lint: serve/encode/encode.go#L25
exported: func name will be used as encode.EncodeValue by other packages, and that stutters; consider calling this Value (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