Skip to content

Adding linters in makefile and gha #7

Adding linters in makefile and gha

Adding linters in makefile and gha #7

Triggered via pull request September 29, 2023 12:33
Status Failure
Total duration 1m 46s
Artifacts

terraform-ci.yml

on: pull_request
Check Go formatting, linting, vetting using golangci-lint
1m 0s
Check Go formatting, linting, vetting using golangci-lint
Check Go formatting, linting, vetting
1m 33s
Check Go formatting, linting, vetting
Check for forbidden words
13s
Check for forbidden words
Build
46s
Build
Go security
1m 32s
Go security
Generate
44s
Generate
Malware Scanner
1m 22s
Malware Scanner
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
Check Go formatting, linting, vetting using golangci-lint: mutexkv/mutexkv.go#L38
empty-lines: extra empty line at the end of a block (revive)
Check Go formatting, linting, vetting using golangci-lint: common/job_management.go#L24
line-length-limit: line is 109 characters, out of limit 100 (revive)
Check Go formatting, linting, vetting using golangci-lint: common/job_management.go#L31
line-length-limit: line is 190 characters, out of limit 100 (revive)
Check Go formatting, linting, vetting using golangci-lint: common/job_management.go#L40
line-length-limit: line is 106 characters, out of limit 100 (revive)
Check Go formatting, linting, vetting using golangci-lint: common/job_management.go#L42
line-length-limit: line is 106 characters, out of limit 100 (revive)
Check Go formatting, linting, vetting using golangci-lint: common/job_management.go#L65
line-length-limit: line is 101 characters, out of limit 100 (revive)
Check Go formatting, linting, vetting using golangci-lint: common/job_management.go#L64
add-constant: avoid magic numbers like '200', create a named constant for it (revive)
Check Go formatting, linting, vetting using golangci-lint: redfish/data_source_redfish_dell_idrac_attributes.go#L93
add-constant: string literal "there was an issue when reading idrac attributes - %s" appears, at least, 4 times, create a named constant for it (revive)
Check Go formatting, linting, vetting using golangci-lint: redfish/data_source_redfish_dell_idrac_attributes.go#L47
line-length-limit: line is 116 characters, out of limit 100 (revive)
Check Go formatting, linting, vetting using golangci-lint: redfish/data_source_redfish_system_boot.go#L46
line-length-limit: line is 116 characters, out of limit 100 (revive)