Skip to content

Enable linter in the CI #11

Enable linter in the CI

Enable linter in the CI #11

Triggered via pull request May 24, 2024 09:53
Status Failure
Total duration 46s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
lint: pairing/circl_bls12381/g1.go#L1
1-95 lines are duplicate of `pairing/circl_bls12381/g2.go:1-95` (dupl)
lint: pairing/circl_bls12381/g2.go#L1
1-95 lines are duplicate of `pairing/circl_bls12381/g1.go:1-95` (dupl)
lint: xof/blake2xs/blake.go#L74
Error return value of `x.impl.Write` is not checked (errcheck)
lint: xof/blake2xb/blake.go#L74
Error return value of `x.impl.Write` is not checked (errcheck)
lint: share/dkg/pedersen/structs.go#L120
Error return value of `binary.Write` is not checked (errcheck)
lint: share/dkg/pedersen/structs.go#L126
Error return value of `binary.Write` is not checked (errcheck)
lint: share/dkg/pedersen/structs.go#L170
Error return value of `binary.Write` is not checked (errcheck)
lint: share/dkg/pedersen/structs.go#L172
Error return value of `binary.Write` is not checked (errcheck)
lint: share/dkg/pedersen/structs.go#L174
Error return value of `binary.Write` is not checked (errcheck)
lint: share/dkg/pedersen/structs.go#L176
Error return value of `binary.Write` is not checked (errcheck)
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint: sign/schnorr/schnorr.go#L31
exported: type name will be used as schnorr.SchnorrScheme by other packages, and that stutters; consider calling this Scheme (revive)
lint: pairing/circl_bls12381/adapter.go#L1
var-naming: don't use an underscore in package name (revive)
lint: pairing/circl_bls12381/group.go#L1
var-naming: don't use an underscore in package name (revive)
lint: pairing/circl_bls12381/gt.go#L1
var-naming: don't use an underscore in package name (revive)
lint: pairing/circl_bls12381/scalar.go#L1
var-naming: don't use an underscore in package name (revive)
lint: pairing/circl_bls12381/suite.go#L1
var-naming: don't use an underscore in package name (revive)
lint: pairing/circl_bls12381/adapter_test.go#L1
var-naming: don't use an underscore in package name (revive)
lint: pairing/circl_bls12381/g2.go#L61
unused-parameter: parameter 'data' seems to be unused, consider removing or renaming it as _ (revive)
lint: pairing/circl_bls12381/g1.go#L61
unused-parameter: parameter 'data' seems to be unused, consider removing or renaming it as _ (revive)
lint: pairing/circl_bls12381/gt.go#L52
unused-parameter: parameter 'rand' seems to be unused, consider removing or renaming it as _ (revive)