Skip to content

Support custom chain presets #586

Support custom chain presets

Support custom chain presets #586

Triggered via pull request March 30, 2024 09:04
Status Failure
Total duration 55s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
lint: ssz/test/main.go#L32
Error return value of `pprof.WriteHeapProfile` is not checked (errcheck)
lint: ssz/test/main.go#L40
use of `fmt.Printf` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
lint: ssz/test/main.go#L41
use of `fmt.Printf` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
lint: ssz/test/main.go#L42
use of `fmt.Printf` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
lint: ssz/marshal.go#L17
commentFormatting: put a space between `//` and comment text (gocritic)
lint: ssz/marshal.go#L37
commentFormatting: put a space between `//` and comment text (gocritic)
lint: ssz/marshal.go#L104
commentFormatting: put a space between `//` and comment text (gocritic)
lint: ssz/unmarshal.go#L239
ifElseChain: rewrite if-else to switch statement (gocritic)
lint: ssz/const.go#L9
File is not `gofumpt`-ed (gofumpt)
lint: ssz/marshal.go#L148
File is not `gofumpt`-ed (gofumpt)
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint: ssz/unmarshal.go#L326
empty-block: this block is empty, you can remove it (revive)