Fix golint issues. #83
ci.yml
on: pull_request
golangci-lint
2m 5s
Tests
2m 47s
Annotations
14 errors and 4 warnings
golangci-lint:
build/config.go#L1
: # github.com/meshery/meshery-nighthawk/build
|
golangci-lint:
build/config.go#L24
undefined: adapter.MeshModelConfig
|
golangci-lint:
build/config.go#L67
undefined: adapter.Manifests (typecheck)
|
golangci-lint:
nighthawk/nighthawk.go#L1
: # github.com/meshery/meshery-nighthawk/nighthawk
|
golangci-lint:
nighthawk/nighthawk.go#L36
undefined: adapter.OAMRequest (typecheck)
|
golangci-lint:
main.go#L30
could not import github.com/meshery/meshery-nighthawk/build (-: # github.com/meshery/meshery-nighthawk/build
|
golangci-lint:
build/config.go#L24
undefined: adapter.MeshModelConfig
|
golangci-lint:
build/config.go#L67
undefined: adapter.Manifests) (typecheck)
|
golangci-lint:
main.go#L32
could not import github.com/meshery/meshery-nighthawk/nighthawk (-: # github.com/meshery/meshery-nighthawk/nighthawk
|
golangci-lint:
nighthawk/nighthawk.go#L36
undefined: adapter.OAMRequest) (typecheck)
|
Tests:
build/config.go#L24
undefined: adapter.MeshModelConfig
|
Tests:
build/config.go#L67
undefined: adapter.Manifests
|
Tests:
nighthawk/nighthawk.go#L36
undefined: adapter.OAMRequest
|
Tests
Process completed with exit code 1.
|
golangci-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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/.
|
golangci-lint
Restore cache failed: Dependencies file is not found in /home/runner/work/meshery-nighthawk/meshery-nighthawk. Supported file pattern: go.sum
|
Tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, engineerd/setup-kind@v0.5.0. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Tests
The following actions uses node12 which is deprecated and will be forced to run on node16: engineerd/setup-kind@v0.5.0. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|