Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timeout exceeded: try increasing it by passing --timeout option #308

Closed
hongbo-miao opened this issue Aug 11, 2021 · 1 comment
Closed

Comments

@hongbo-miao
Copy link

My project recently get this timeout issue like 50% time since a week ago.
Is there a way to pass timeout option? Thanks!

  Running [/home/runner/golangci-lint-1.40.1-linux-amd64/golangci-lint run --out-format=github-actions --path-prefix=api-go] in [/home/runner/work/hongbomiao.com/hongbomiao.com/api-go] ...
  level=error msg="Timeout exceeded: try increasing it by passing --timeout option"
  
  Error: golangci-lint exit with code 4
  Ran golangci-lint in 65485ms
@hongbo-miao
Copy link
Author

hongbo-miao commented Aug 11, 2021

Sorry, I missed this in the readme 😅

# Optional: golangci-lint command line arguments.
# args: --issues-exit-code=0

So in my case, it would be

args: --timeout=10m

(Note my root issue may be related to #297 (comment))

barney-s added a commit to barney-s/k8s-config-connector that referenced this issue Aug 21, 2024
We have been seeing compositions linter timeout more often than not.
Adding timeout as per resolution here: 'golangci/golangci-lint-action#308 (comment)'
anhdle-sso pushed a commit to anhdle-sso/k8s-config-connector that referenced this issue Aug 22, 2024
We have been seeing compositions linter timeout more often than not.
Adding timeout as per resolution here: 'golangci/golangci-lint-action#308 (comment)'
xiaoweim pushed a commit to xiaoweim/k8s-config-connector that referenced this issue Aug 28, 2024
We have been seeing compositions linter timeout more often than not.
Adding timeout as per resolution here: 'golangci/golangci-lint-action#308 (comment)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant