Linting #2
Annotations
8 errors and 9 warnings
terrafmt
No such file or directory
|
golangci-lint:
waapm/provider.go#L225
Error return value of `d.Set` is not checked (errcheck)
|
golangci-lint:
waapm/provider.go#L220
use of `fmt.Println` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
|
golangci-lint:
waapm/provider.go#L108
cognitive complexity 36 of func `dataSourceSecretRead` is high (> 30) (gocognit)
|
golangci-lint:
waapm/provider.go#L127
unnecessary trailing newline (whitespace)
|
golangci-lint:
waapm/provider.go#L162
shadow: declaration of "ok" shadows declaration at line 109 (govet)
|
golangci-lint:
waapm/provider.go#L188
ineffectual assignment to generations (ineffassign)
|
golangci-lint
issues found
|
markdown-lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
terrafmt
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
terrafmt
Unexpected input(s) 'skip-cache', valid inputs are ['go-version', 'go-version-file', 'check-latest', 'token', 'cache', 'cache-dependency-path', 'architecture']
|
terrafmt
Unexpected input(s) 'skip-cache', valid inputs are ['repository', 'ref', 'token', 'ssh-key', 'ssh-known-hosts', 'ssh-strict', 'ssh-user', 'persist-credentials', 'path', 'clean', 'filter', 'sparse-checkout', 'sparse-checkout-cone-mode', 'fetch-depth', 'fetch-tags', 'show-progress', 'lfs', 'submodules', 'set-safe-directory', 'github-server-url']
|
terrafmt
Unexpected input(s) 'skip-cache', valid inputs are ['go-version', 'go-version-file', 'check-latest', 'token', 'cache', 'cache-dependency-path', 'architecture']
|
terrafmt
Restore cache failed: Dependencies file is not found in /home/runner/work/terraform-provider-waapm/terraform-provider-waapm. Supported file pattern: go.sum
|
terrafmt
Unexpected input(s) 'skip-cache', valid inputs are ['repository', 'ref', 'token', 'ssh-key', 'ssh-known-hosts', 'ssh-strict', 'ssh-user', 'persist-credentials', 'path', 'clean', 'filter', 'sparse-checkout', 'sparse-checkout-cone-mode', 'fetch-depth', 'fetch-tags', 'show-progress', 'lfs', 'submodules', 'set-safe-directory', 'github-server-url']
|
golangci-lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
golangci-lint
Restore cache failed: Dependencies file is not found in /home/runner/work/terraform-provider-waapm/terraform-provider-waapm. Supported file pattern: go.sum
|