Skip to content

fix timeout of golangci-lint #2946

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

Merged
merged 1 commit into from
Jun 7, 2023
Merged

Conversation

satorunooshie
Copy link
Contributor

@satorunooshie satorunooshie commented May 31, 2023

golangci-lint often exit with code 4, which represents timeout, after PR merge into master.
This is due to the default settings of golangci-lint, which is 1m, and timeout option can be set.
In most cases, they're over the time limit slightly, which were just a few seconds, so that I think it's good to pass timeout option and set as 5m as lots of OSS do.
image

Signed-off-by: Satoru Kitaguchi <rule.the.fate.myfirststory@gmail.com>
@casualjim casualjim merged commit 450472f into go-swagger:master Jun 7, 2023
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

Successfully merging this pull request may close these issues.

2 participants