Skip to content

Enable linter in the CI #97

Enable linter in the CI

Enable linter in the CI #97

Triggered via pull request February 25, 2024 16:22
@K1li4nLK1li4nL
synchronize #498
Status Failure
Total duration 1m 1s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

go_lint.yml

on: pull_request_target
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 warning
lint: proof/proof.go#L475
cognitive complexity 21 of func `(*orPred).commit` is high (> 20) (gocognit)
lint: share/vss/rabin/vss_test.go#L370
commentFormatting: put a space between `//` and comment text (gocritic)
lint: shuffle/shuffle_test.go#L63
commentFormatting: put a space between `//` and comment text (gocritic)
lint: proof/proof.go#L487
`if w == nil` has complex nested blocks (complexity: 6) (nestif)
lint: share/dkg/rabin/dkg.go#L378
unused-parameter: parameter 'v' seems to be unused, consider removing or renaming it as _ (revive)
lint: share/dkg/rabin/dkg.go#L387
unused-parameter: parameter 'v' seems to be unused, consider removing or renaming it as _ (revive)
lint: share/dkg/rabin/dkg.go#L606
unused-parameter: parameter 'v' seems to be unused, consider removing or renaming it as _ (revive)
lint
Process completed with exit code 2.
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.