Skip to content

refactor(lsp): use lsp server and client interfaces #172

refactor(lsp): use lsp server and client interfaces

refactor(lsp): use lsp server and client interfaces #172

Triggered via pull request March 10, 2024 16:47
Status Success
Total duration 1m 46s
Artifacts

lint.yml

on: pull_request
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
lint (1.21.5, ubuntu-latest): internal/adapter/yamlls/diagnostics_integration_test.go#L4
"context" imported and not used (typecheck)
lint (1.21.5, ubuntu-latest): internal/handler/completion.go#L91
string `Chart` has 3 occurrences, make it a constant (goconst)
lint (1.21.5, ubuntu-latest): internal/handler/completion.go#L93
string `Values` has 3 occurrences, make it a constant (goconst)
lint (1.21.5, ubuntu-latest): internal/handler/definition.go#L18
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint (1.21.5, ubuntu-latest): internal/handler/initialization.go#L30
Error return value of `h.yamllsConnector.CallInitialize` is not checked (errcheck)
lint (1.21.5, ubuntu-latest): internal/handler/initialization.go#L55
unused-parameter: parameter 'params' seems to be unused, consider removing or renaming it as _ (revive)
lint (1.21.5, ubuntu-latest): internal/handler/initialization.go#L71
Error return value of `h.yamllsConnector.CallInitialize` is not checked (errcheck)
lint (1.21.5, ubuntu-latest): internal/handler/initialization.go#L72
Error return value of `h.yamllsConnector.DidChangeConfiguration` is not checked (errcheck)
lint (1.21.5, ubuntu-latest): internal/handler/text_document.go#L36
Error return value of `h.client.PublishDiagnostics` is not checked (errcheck)
lint (1.21.5, ubuntu-latest): internal/handler/text_document.go#L56
ineffectual assignment to err (ineffassign)
lint (1.21.5, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint (1.21.5, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/helm-ls/helm-ls. Supported file pattern: go.sum