Skip to content

Add subnet validator example #414

Add subnet validator example

Add subnet validator example #414

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

lint-and-tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 2 warnings
Lint: subnet/add_validator_subnet_test.go#L23
commentFormatting: put a space between `//` and comment text (gocritic)
Lint: subnet/add_validator_subnet_test.go#L39
commentFormatting: put a space between `//` and comment text (gocritic)
Lint: subnet/add_validator_subnet_test.go#L57
commentFormatting: put a space between `//` and comment text (gocritic)
Lint: subnet/add_validator_subnet_test.go#L86
commentFormatting: put a space between `//` and comment text (gocritic)
Lint: subnet/add_validator_subnet_test.go#L71
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#L22
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)