ci: run lint for changed packages only #3
ci-lint.yml
on: pull_request
Run code linting
1m 19s
Annotations
10 errors
Run code linting:
accounts/abi/event_test.go#L331
The copy of the 'for' variable "tc" can be deleted (Go 1.22+) (copyloopvar)
|
Run code linting:
accounts/abi/unpack_test.go#L365
The copy of the 'for' variable "tc" can be deleted (Go 1.22+) (copyloopvar)
|
Run code linting:
cmd/ronin/accountcmd_test.go#L105
The copy of the 'for' variable "test" can be deleted (Go 1.22+) (copyloopvar)
|
Run code linting:
eth/downloader/downloader.go#L589
The copy of the 'for' variable "fn" can be deleted (Go 1.22+) (copyloopvar)
|
Run code linting:
eth/fetcher/block_fetcher.go#L475
The copy of the 'for' variable "hashes" can be deleted (Go 1.22+) (copyloopvar)
|
Run code linting:
eth/handler_eth_test.go#L415
The copy of the 'for' variable "sink" can be deleted (Go 1.22+) (copyloopvar)
|
Run code linting:
eth/handler_eth_test.go#L635
The copy of the 'for' variable "sink" can be deleted (Go 1.22+) (copyloopvar)
|
Run code linting:
eth/handler_eth_test.go#L670
The copy of the 'for' variable "ch" can be deleted (Go 1.22+) (copyloopvar)
|
Run code linting:
eth/handler_eth_test.go#L720
The copy of the 'for' variable "sink" can be deleted (Go 1.22+) (copyloopvar)
|
Run code linting:
eth/handler_eth_test.go#L756
The copy of the 'for' variable "ch" can be deleted (Go 1.22+) (copyloopvar)
|