Skip to content

Update release.yml

Update release.yml #67

Triggered via pull request March 13, 2024 09:39
Status Failure
Total duration 1m 49s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 1 warning
[golangci] components/participation/routes.go#L42: components/participation/routes.go#L42
string `/admin/events/:` has 4 occurrences, make it a constant (goconst)
[golangci] pkg/participation/staking.go#L66: pkg/participation/staking.go#L66
unused-parameter: parameter 'err' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] pkg/participation/staking.go#L81: pkg/participation/staking.go#L81
unused-parameter: parameter 'err' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] pkg/participation/event.go#L119: pkg/participation/event.go#L119
unused-parameter: parameter 'err' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] pkg/participation/ballot.go#L24: pkg/participation/ballot.go#L24
unused-parameter: parameter 'ty' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] pkg/participation/answer.go#L45: pkg/participation/answer.go#L45
unused-parameter: parameter 'err' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] pkg/participation/event.go#L139: pkg/participation/event.go#L139
unused-parameter: parameter 'err' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] pkg/participation/participations.go#L24: pkg/participation/participations.go#L24
unused-parameter: parameter 'ty' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] pkg/participation/question.go#L27: pkg/participation/question.go#L27
unused-parameter: parameter 'ty' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] pkg/participation/answer.go#L59: pkg/participation/answer.go#L59
unused-parameter: parameter 'err' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] pkg/participation/test/testenv.go#L138: pkg/participation/test/testenv.go#L138
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] pkg/participation/test/testenv.go#L152: pkg/participation/test/testenv.go#L152
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] pkg/participation/test/testenv.go#L169: pkg/participation/test/testenv.go#L169
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] pkg/participation/participation_manager_test.go#L1256: pkg/participation/participation_manager_test.go#L1256
unused-parameter: parameter 'address' seems to be unused, consider removing or renaming it as _ (revive)
GolangCI-Lint
reviewdog exited with status code: 1
GolangCI-Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.