Skip to content

Chore/qa 1202 sonarqube integration #1199

Chore/qa 1202 sonarqube integration

Chore/qa 1202 sonarqube integration #1199

Triggered via pull request September 11, 2023 13:55
Status Failure
Total duration 54s
Artifacts

golangci-lint.yml

on: pull_request
Golang Lint Ops
37s
Golang Lint Ops
Golang Lint Integration Tests
30s
Golang Lint Integration Tests
Golang Lint Relay tests
40s
Golang Lint Relay tests
Fit to window
Zoom out
Zoom in

Annotations

30 errors and 18 warnings
Golang Lint Integration Tests: pkg/solana/cache_test.go#L159
Error return value of `w.Write` is not checked (errcheck)
Golang Lint Integration Tests: pkg/solana/cache_test.go#L165
Error return value of `w.Write` is not checked (errcheck)
Golang Lint Integration Tests: pkg/solana/report_test.go#L225
Error return value of `(*github.com/gagliardetto/binary.Decoder).Decode` is not checked (errcheck)
Golang Lint Integration Tests: pkg/solana/txm/txm_race_test.go#L109
Error return value of `rand.Read` is not checked (errcheck)
Golang Lint Integration Tests: pkg/solana/txm/txm_race_test.go#L137
Error return value of `rand.Read` is not checked (errcheck)
Golang Lint Integration Tests: pkg/solana/txm/txm_race_test.go#L172
Error return value of `rand.Read` is not checked (errcheck)
Golang Lint Integration Tests: pkg/solana/txm/txm_race_test.go#L230
File is not `goimports`-ed (goimports)
Golang Lint Integration Tests: pkg/solana/config/config.go#L310
S1023: redundant `return` statement (gosimple)
Golang Lint Integration Tests: pkg/solana/client/client_test.go#L138
shadow: declaration of "err" shadows declaration at line 123 (govet)
Golang Lint Integration Tests: pkg/solana/client/client_test.go#L260
shadow: declaration of "err" shadows declaration at line 208 (govet)
Golang Lint Ops: pkg/solana/cache_test.go#L159
Error return value of `w.Write` is not checked (errcheck)
Golang Lint Ops: pkg/solana/cache_test.go#L165
Error return value of `w.Write` is not checked (errcheck)
Golang Lint Ops: pkg/solana/report_test.go#L225
Error return value of `(*github.com/gagliardetto/binary.Decoder).Decode` is not checked (errcheck)
Golang Lint Ops: pkg/solana/txm/txm_race_test.go#L109
Error return value of `rand.Read` is not checked (errcheck)
Golang Lint Ops: pkg/solana/txm/txm_race_test.go#L137
Error return value of `rand.Read` is not checked (errcheck)
Golang Lint Ops: pkg/solana/txm/txm_race_test.go#L172
Error return value of `rand.Read` is not checked (errcheck)
Golang Lint Ops: pkg/solana/txm/txm_race_test.go#L230
File is not `goimports`-ed (goimports)
Golang Lint Ops: pkg/solana/config/config.go#L310
S1023: redundant `return` statement (gosimple)
Golang Lint Ops: pkg/solana/client/client_test.go#L138
shadow: declaration of "err" shadows declaration at line 123 (govet)
Golang Lint Ops: pkg/solana/client/client_test.go#L260
shadow: declaration of "err" shadows declaration at line 208 (govet)
Golang Lint Relay tests: pkg/solana/cache_test.go#L159
Error return value of `w.Write` is not checked (errcheck)
Golang Lint Relay tests: pkg/solana/cache_test.go#L165
Error return value of `w.Write` is not checked (errcheck)
Golang Lint Relay tests: pkg/solana/report_test.go#L225
Error return value of `(*github.com/gagliardetto/binary.Decoder).Decode` is not checked (errcheck)
Golang Lint Relay tests: pkg/solana/txm/txm_race_test.go#L109
Error return value of `rand.Read` is not checked (errcheck)
Golang Lint Relay tests: pkg/solana/txm/txm_race_test.go#L137
Error return value of `rand.Read` is not checked (errcheck)
Golang Lint Relay tests: pkg/solana/txm/txm_race_test.go#L172
Error return value of `rand.Read` is not checked (errcheck)
Golang Lint Relay tests: pkg/solana/txm/txm_race_test.go#L230
File is not `goimports`-ed (goimports)
Golang Lint Relay tests: pkg/solana/config/config.go#L310
S1023: redundant `return` statement (gosimple)
Golang Lint Relay tests: pkg/solana/client/client_test.go#L138
shadow: declaration of "err" shadows declaration at line 123 (govet)
Golang Lint Relay tests: pkg/solana/client/client_test.go#L260
shadow: declaration of "err" shadows declaration at line 208 (govet)
Golang Lint Integration Tests
Unexpected input(s) 'run', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
Golang Lint Integration Tests: pkg/solana/relay.go#L238
receiver-naming: receiver name p should be consistent with previous receiver name m for medianProvider (revive)
Golang Lint Integration Tests: pkg/solana/relay.go#L248
receiver-naming: receiver name p should be consistent with previous receiver name m for medianProvider (revive)
Golang Lint Integration Tests: pkg/solana/relay.go#L257
receiver-naming: receiver name p should be consistent with previous receiver name m for medianProvider (revive)
Golang Lint Integration Tests
No files were found with the provided path: ./integration-tests/golangci-lint-integration-tests-report.xml. No artifacts will be uploaded.
Golang Lint Integration Tests
Unexpected input(s) 'run', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
Golang Lint Ops
Unexpected input(s) 'run', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
Golang Lint Ops: pkg/solana/relay.go#L238
receiver-naming: receiver name p should be consistent with previous receiver name m for medianProvider (revive)
Golang Lint Ops: pkg/solana/relay.go#L248
receiver-naming: receiver name p should be consistent with previous receiver name m for medianProvider (revive)
Golang Lint Ops: pkg/solana/relay.go#L257
receiver-naming: receiver name p should be consistent with previous receiver name m for medianProvider (revive)
Golang Lint Ops
Unexpected input(s) 'run', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
Golang Lint Ops
No files were found with the provided path: ./ops/golangci-lint-ops-report.xml. No artifacts will be uploaded.
Golang Lint Relay tests
No files were found with the provided path: ./pkg/golangci-lint-relay-report.xml. No artifacts will be uploaded.
Golang Lint Relay tests
Unexpected input(s) 'run', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
Golang Lint Relay tests
Unexpected input(s) 'run', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
Golang Lint Relay tests: pkg/solana/relay.go#L238
receiver-naming: receiver name p should be consistent with previous receiver name m for medianProvider (revive)
Golang Lint Relay tests: pkg/solana/relay.go#L248
receiver-naming: receiver name p should be consistent with previous receiver name m for medianProvider (revive)
Golang Lint Relay tests: pkg/solana/relay.go#L257
receiver-naming: receiver name p should be consistent with previous receiver name m for medianProvider (revive)