Add golang linters #5
Annotations
12 errors and 3 warnings
lint (common):
common/config/elasticsearch.go#L92
captLocal: `URL' should not be capitalized (gocritic)
|
lint (common):
common/config/gcs.go#L27
commentedOutCode: may want to remove commented-out code (gocritic)
|
lint (common):
common/config/grafanacloudprometheus.go#L132
sprintfQuotedString: use %q instead of "%s" for quoted strings (gocritic)
|
lint (common):
common/config/loki.go#L90
assignOp: replace `parsedUrl.Host = parsedUrl.Host + ":3100"` with `parsedUrl.Host += ":3100"` (gocritic)
|
lint (common):
common/config/elasticapm.go#L22
ineffectual assignment to isTlsDisabled (ineffassign)
|
lint (common):
common/config/elasticsearch.go#L15
The line is 167 characters long, which exceeds the maximum of 150 characters. (lll)
|
lint (common):
common/config/elasticsearch.go#L18
The line is 160 characters long, which exceeds the maximum of 150 characters. (lll)
|
lint (common):
common/config/grafanacloudprometheus.go#L36
The line is 153 characters long, which exceeds the maximum of 150 characters. (lll)
|
lint (common):
common/config/grafanacloudprometheus.go#L47
The line is 155 characters long, which exceeds the maximum of 150 characters. (lll)
|
lint (common):
common/config/groundcover.go#L15
The line is 151 characters long, which exceeds the maximum of 150 characters. (lll)
|
lint (k8sutils)
The job was canceled because "common" failed.
|
lint (k8sutils)
The operation was canceled.
|
lint (common)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint (common)
Restore cache failed: Dependencies file is not found in /home/runner/work/odigos/odigos. Supported file pattern: go.sum
|
lint (k8sutils)
Restore cache failed: Dependencies file is not found in /home/runner/work/odigos/odigos. Supported file pattern: go.sum
|