Skip to content

lint

lint #33

Triggered via push April 1, 2024 15:03
Status Failure
Total duration 16s
Artifacts

lint.yml

on: push
golangci-lint
9s
golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
golangci-lint: test/e2e/e2e_test.go#L76
ineffectual assignment to err (ineffassign)
golangci-lint: internal/controller/suite_test.go#L77
Error return value of `os.Setenv` is not checked (errcheck)
golangci-lint: internal/controller/suite_test.go#L78
Error return value of `os.Setenv` is not checked (errcheck)
golangci-lint: internal/controller/githubapp_controller_test.go#L71
unnecessary conversion (unconvert)
golangci-lint: internal/controller/githubapp_controller_test.go#L226
unnecessary conversion (unconvert)
golangci-lint: internal/controller/githubapp_controller_test.go#L337
unnecessary conversion (unconvert)
golangci-lint: internal/controller/githubapp_controller.go#L180
`(*GithubAppReconciler).checkExpiryAndUpdateAccessToken` - `req` is unused (unparam)
golangci-lint: internal/controller/githubapp_controller.go#L316
(*GithubAppReconciler).checkExpiryAndRequeue - result 1 (error) is always nil (unparam)
golangci-lint
issues found
golangci-lint
Restore cache failed: Dependencies file is not found in /home/runner/work/github-app-operator/github-app-operator. Supported file pattern: go.sum