Skip to content

fix: fix slice init length #946

fix: fix slice init length

fix: fix slice init length #946

Re-run triggered December 23, 2024 10:28
Status Failure
Total duration 4m 6s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 2 warnings
lint: cylinder/workers/sender/sender.go#L31
invalid operation: make(chan *keyring.Record, 0, len(keys)) expects 1 or 2 arguments; found 3 (typecheck)
lint: cmd/cylinder/run.go#L15
could not import github.com/bandprotocol/chain/v3/cylinder/workers/sender (-: # github.com/bandprotocol/chain/v3/cylinder/workers/sender
lint: cylinder/workers/sender/sender.go#L31
invalid operation: make(chan *keyring.Record, 0, len(keys)) expects 1 or 2 arguments; found 3) (typecheck)
lint: cylinder/workers/sender/msg_detail_test.go#L10
could not import github.com/bandprotocol/chain/v3/cylinder/workers/sender (-: # github.com/bandprotocol/chain/v3/cylinder/workers/sender
lint: cylinder/workers/sender/sender.go#L31
invalid operation: make(chan *keyring.Record, 0, len(keys)) expects 1 or 2 arguments; found 3) (typecheck)
lint
issues found
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/chain/chain. Supported file pattern: go.sum