Skip to content

Linting

Linting #2

Triggered via push December 17, 2024 13:52
Status Failure
Total duration 51s
Artifacts

linters.yml

on: push
golangci-lint
42s
golangci-lint
markdown-lint
15s
markdown-lint
terrafmt
31s
terrafmt
Fit to window
Zoom out
Zoom in

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