Skip to content

Event listener for Messenger Contracts #106

Event listener for Messenger Contracts

Event listener for Messenger Contracts #106

Triggered via pull request September 18, 2024 02:26
Status Failure
Total duration 2m 57s
Artifacts

ci.yml

on: pull_request
Unit Tests
2m 30s
Unit Tests
Static Analysis
2m 5s
Static Analysis
lint
1m 34s
lint
Check state of go.mod and go.sum
18s
Check state of go.mod and go.sum
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 3 warnings
lint: events/listener.go#L524
var-naming: method parameter tokenId should be tokenID (revive)
lint: events/listener.go#L623
var-naming: method parameter tokenId should be tokenID (revive)
lint: events/listener.go#L654
var-naming: method parameter tokenId should be tokenID (revive)
lint: events/listener.go#L198
S1000: should use a simple channel send/receive instead of `select` with a single case (gosimple)
lint: events/listener.go#L214
S1000: should use for range instead of for { select {} } (gosimple)
lint: events/listener.go#L298
S1000: should use a simple channel send/receive instead of `select` with a single case (gosimple)
lint: events/listener.go#L314
S1000: should use for range instead of for { select {} } (gosimple)
lint: events/listener.go#L397
S1000: should use a simple channel send/receive instead of `select` with a single case (gosimple)
lint: events/listener.go#L413
S1000: should use for range instead of for { select {} } (gosimple)
lint: events/listener.go#L496
S1000: should use a simple channel send/receive instead of `select` with a single case (gosimple)
Static Analysis: internal/messaging/response_handler.go#L74
G115: integer overflow conversion uint64 -> int64 (gosec)
Static Analysis: internal/messaging/response_handler.go#L192
G115: integer overflow conversion int64 -> int32 (gosec)
Static Analysis: internal/matrix/msg_assembler.go#L49
G115: integer overflow conversion uint -> int (gosec)
Static Analysis: events/listener.go#L524
var-naming: method parameter tokenId should be tokenID (revive)
Static Analysis: events/listener.go#L623
var-naming: method parameter tokenId should be tokenID (revive)
Static Analysis: events/listener.go#L654
var-naming: method parameter tokenId should be tokenID (revive)
Static Analysis: internal/messaging/processor_test.go#L323
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
Static Analysis: events/listener.go#L198
S1000: should use a simple channel send/receive instead of `select` with a single case (gosimple)
Static Analysis: events/listener.go#L214
S1000: should use for range instead of for { select {} } (gosimple)
Static Analysis: events/listener.go#L298
S1000: should use a simple channel send/receive instead of `select` with a single case (gosimple)
Check state of go.mod and go.sum
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Static Analysis
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Unit Tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/