release first version #39
lint.yml
on: pull_request
Run golangci-lint
2m 33s
Run markdown-lint
10s
Annotations
10 errors and 11 warnings
Run golangci-lint:
internal/handler/handler.go#L9
commentFormatting: put a space between `//` and comment text (gocritic)
|
Run golangci-lint:
internal/types/proposal.go#L5
File is not `gofumpt`-ed (gofumpt)
|
Run golangci-lint:
internal/types/proposal.go#L7
File is not `gofumpt`-ed (gofumpt)
|
Run golangci-lint:
internal/handler/stateroot_committer.go#L6
File is not `gofumpt`-ed (gofumpt)
|
Run golangci-lint:
internal/handler/stateroot_committer.go#L18
File is not `gofumpt`-ed (gofumpt)
|
Run golangci-lint:
internal/handler/txs_committer.go#L5
File is not `gofumpt`-ed (gofumpt)
|
Run golangci-lint:
internal/handler/txs_committer.go#L15
File is not `gofumpt`-ed (gofumpt)
|
Run golangci-lint:
internal/handler/txs_committer.go#L137
File is not `gofumpt`-ed (gofumpt)
|
Run golangci-lint:
internal/handler/txs_committer.go#L161
File is not `gofumpt`-ed (gofumpt)
|
Run golangci-lint:
internal/handler/txs_committer.go#L138
unnecessary trailing newline (whitespace)
|
Run markdown-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, technote-space/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run golangci-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, actions/checkout@v3, technote-space/[email protected], golangci/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run golangci-lint
Restore cache failed: Dependencies file is not found in /home/runner/work/b2-committer/b2-committer. Supported file pattern: go.sum
|
Run golangci-lint:
internal/handler/stateroot_committer.go#L219
error-strings: error strings should not be capitalized or end with punctuation or a newline (revive)
|
Run golangci-lint:
internal/handler/stateroot_committer.go#L223
error-strings: error strings should not be capitalized or end with punctuation or a newline (revive)
|
Run golangci-lint:
internal/handler/stateroot_committer.go#L282
var-declaration: should drop = 0 from declaration of var times; it is the zero value (revive)
|
Run golangci-lint:
internal/handler/txs_committer.go#L172
var-declaration: should drop = 0 from declaration of var times; it is the zero value (revive)
|
Run golangci-lint:
internal/handler/stateroot_committer.go#L304
var-declaration: should drop = 0 from declaration of var times; it is the zero value (revive)
|
Run golangci-lint:
internal/handler/txs_committer.go#L193
var-declaration: should drop = 0 from declaration of var times; it is the zero value (revive)
|
Run golangci-lint:
internal/handler/stateroot_committer.go#L326
var-declaration: should drop = 0 from declaration of var times; it is the zero value (revive)
|
Run golangci-lint:
internal/handler/txs_committer.go#L215
var-declaration: should drop = 0 from declaration of var times; it is the zero value (revive)
|