Skip to content

Commit

Permalink
fix: Increase timeout for golangci-lint (wtfutil#1395)
Browse files Browse the repository at this point in the history
CI occasionally failed by timeout of golangci-lint and show logs like
>  Running [/home/runner/golangci-lint-1.50.0-linux-amd64/golangci-lint run --out-format=github-actions ./...] in [] ...
>  level=error msg="Timeout exceeded: try increasing it by passing --timeout option"
>
>  Error: golangci-lint exit with code 4
>  Ran golangci-lint in 165001ms
  • Loading branch information
tsbkw authored Dec 14, 2022
1 parent 573ab94 commit 144e1cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
run:
timeout: 2m
timeout: 3m

linters:
enable:
Expand Down

0 comments on commit 144e1cd

Please sign in to comment.