Skip to content

feat: add network plugin #250

feat: add network plugin

feat: add network plugin #250

Triggered via pull request February 12, 2024 08:24
Status Failure
Total duration 3m 20s
Artifacts

test-lint.yml

on: pull_request
List root package directories
3s
List root package directories
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 14 warnings
Lint Go Code: ./network: network/network/networktypes/metadata.go#L3
Comment should end in a period (godot)
Lint Go Code: ./network: network/network/networktypes/metadata.go#L6
Comment should end in a period (godot)
Lint Go Code: ./network: network/network/networktypes/metadata.go#L13
Comment should end in a period (godot)
Lint Go Code: ./network: network/network/networktypes/metadata.go#L18
Comment should end in a period (godot)
Lint Go Code: ./network: network/network/networktypes/peer.go#L11
Comment should end in a period (godot)
Lint Go Code: ./network: network/network/networktypes/request.go#L12
Comment should end in a period (godot)
Lint Go Code: ./network: network/network/networktypes/request.go#L56
Comment should end in a period (godot)
Lint Go Code: ./network: network/network/networktypes/request.go#L69
Comment should end in a period (godot)
Lint Go Code: ./network: network/network/networktypes/request.go#L89
Comment should end in a period (godot)
Lint Go Code: ./network: network/network/join.go#L36
Comment should end in a period (godot)
List root package directories
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3.4.0. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Lint Go Code: ./integration
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3.4.0, technote-space/get-diff-action@v6.1.2, actions/setup-go@v4, 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/.
Lint Go Code: ./integration
Restore cache failed: Dependencies file is not found in /home/runner/work/apps/apps. Supported file pattern: go.sum
Lint Go Code: ./explorer
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3.4.0, technote-space/get-diff-action@v6.1.2, actions/setup-go@v4, 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/.
Lint Go Code: ./explorer
Restore cache failed: Dependencies file is not found in /home/runner/work/apps/apps. Supported file pattern: go.sum
Lint Go Code: ./hermes
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3.4.0, technote-space/get-diff-action@v6.1.2, actions/setup-go@v4, 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/.
Lint Go Code: ./hermes
Restore cache failed: Dependencies file is not found in /home/runner/work/apps/apps. Supported file pattern: go.sum
Lint Go Code: ./network
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3.4.0, technote-space/get-diff-action@v6.1.2, actions/setup-go@v4, 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/.
Lint Go Code: ./network
Restore cache failed: Dependencies file is not found in /home/runner/work/apps/apps. Supported file pattern: go.sum
Lint Go Code: ./network: network/network/networkchain/prepare.go#L82
if-return: redundant if ...; err != nil check, just return error instead. (revive)
Lint Go Code: ./network: network/network/launch.go#L79
unused-parameter: parameter 'chain' seems to be unused, consider removing or renaming it as _ (revive)
Lint Go Code: ./network: network/main.go#L39
unused-parameter: parameter 'hook' seems to be unused, consider removing or renaming it as _ (revive)
Lint Go Code: ./network: network/main.go#L43
unused-parameter: parameter 'hook' seems to be unused, consider removing or renaming it as _ (revive)
Lint Go Code: ./network: network/main.go#L47
unused-parameter: parameter 'hook' seems to be unused, consider removing or renaming it as _ (revive)