Skip to content

release first version #32

release first version

release first version #32

Triggered via pull request April 29, 2024 07:02
@zhouop0zhouop0
opened #4
dev-op
Status Failure
Total duration 2m 44s
Artifacts

lint.yml

on: pull_request
Run golangci-lint
2m 35s
Run golangci-lint
Run markdown-lint
15s
Run markdown-lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
Run golangci-lint: internal/handler/op_committer_stateroot.go#L58
58-99 lines are duplicate of `internal/handler/op_committer_txs.go:57-99` (dupl)
Run golangci-lint: internal/handler/op_committer_txs.go#L57
57-99 lines are duplicate of `internal/handler/op_committer_stateroot.go:58-99` (dupl)
Run golangci-lint: internal/types/config.go#L26
commentFormatting: put a space between `//` and comment text (gocritic)
Run golangci-lint: pkg/beacon/l1_beacon_client.go#L47
commentFormatting: put a space between `//` and comment text (gocritic)
Run golangci-lint: pkg/beacon/l1_beacon_client.go#L56
commentFormatting: put a space between `//` and comment text (gocritic)
Run golangci-lint: internal/handler/op_committer_stateroot.go#L239
sloppyLen: len(outs.Data) <= 0 can be len(outs.Data) == 0 (gocritic)
Run golangci-lint: internal/handler/op_committer_stateroot.go#L244
sloppyLen: len(outs.Data[0].Inscriptions) <= 0 can be len(outs.Data[0].Inscriptions) == 0 (gocritic)
Run golangci-lint: pkg/event/op/l2OutputOracle.go#L43
File is not `gofumpt`-ed (gofumpt)
Run golangci-lint: pkg/event/zkevm/sequenceBatches.go#L4
File is not `gofumpt`-ed (gofumpt)
Run golangci-lint: pkg/event/zkevm/verifybatches.go#L43
File is not `gofumpt`-ed (gofumpt)
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/types/ds.go#L71
var-naming: method MarshalJson should be MarshalJSON (revive)
Run golangci-lint: internal/types/ds.go#L79
var-naming: method MarshalJson should be MarshalJSON (revive)
Run golangci-lint: pkg/unisat/unisat.go#L14
exported: type name will be used as unisat.UnisatHTTPClient by other packages, and that stutters; consider calling this HTTPClient (revive)
Run golangci-lint: pkg/beacon/l1_beacon_client.go#L106
increment-decrement: should replace blobIndex += 1 with blobIndex++ (revive)
Run golangci-lint: internal/handler/sync_blob.go#L87
superfluous-else: if block ends with a continue statement, so drop this else and outdent its block (revive)
Run golangci-lint: internal/handler/op_committer_stateroot.go#L123
var-naming: var dsJson should be dsJSON (revive)
Run golangci-lint: internal/handler/op_committer_txs.go#L122
var-naming: var dsJson should be dsJSON (revive)