Skip to content

Add subnet validator example #415

Add subnet validator example

Add subnet validator example #415

Triggered via pull request August 22, 2024 16:38
Status Failure
Total duration 41s
Artifacts

lint-and-tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 2 warnings
Lint: subnet/add_validator_subnet_test.go#L25
commentFormatting: put a space between `//` and comment text (gocritic)
Lint: subnet/add_validator_subnet_test.go#L41
commentFormatting: put a space between `//` and comment text (gocritic)
Lint: subnet/add_validator_subnet_test.go#L59
commentFormatting: put a space between `//` and comment text (gocritic)
Lint: subnet/add_validator_subnet_test.go#L73
ineffectual assignment to err (ineffassign)
Lint
issues found
Lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3, actions/checkout@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint: subnet/add_validator_subnet_test.go#L24
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)