Skip to content

Add subnet check

Add subnet check #76

Triggered via pull request June 4, 2024 00:31
Status Failure
Total duration 31s
Artifacts

lint-and-tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Lint: node/create.go#L8
captLocal: `CloudParams' should not be capitalized (gocritic)
Lint: node/destroy.go#L7
unused-parameter: parameter 'node' seems to be unused, consider removing or renaming it as _ (revive)
Lint: node/exec.go#L7
unused-parameter: parameter 'node' seems to be unused, consider removing or renaming it as _ (revive)
Lint: node/net.go#L9
unused-parameter: parameter 'node' seems to be unused, consider removing or renaming it as _ (revive)
Lint: node/net.go#L14
unused-parameter: parameter 'node' seems to be unused, consider removing or renaming it as _ (revive)
Lint: node/node.go#L9
field `user` is unused (unused)
Lint: subnet/add_validator_subnet.go#L1
: # github.com/ava-labs/avalanche-tooling-sdk-go/subnet [github.com/ava-labs/avalanche-tooling-sdk-go/subnet.test]
Lint: subnet/join_subnet.go#L1
syntax error: package statement must be first (typecheck)
Lint: subnet/join_subnet.go#L1
expected 'package', found 4 (typecheck)
Lint: subnet/join_subnet.go#L4
expected ';', found 'package' (typecheck)
Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.