Skip to content

Commit 7a9f7a6

Browse files
authored
Increase the timeout for the lint task (#141)
1 parent 300045f commit 7a9f7a6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/pull-request.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,15 @@ jobs:
6868
with:
6969
version: v1.51.2
7070

71+
# Give the job more time to execute.
72+
# Regarding `--whole-files`, the linter is supposed to support linting of changed a patch only but,
73+
# for some reason, it's very unreliable this way - sometimes it does not report any or some
74+
# issues without linting the whole files, so we have to use `--whole-files`
75+
# which can lead to some frustration from developers who would like to
76+
# fix a single line in an existing codebase and the linter would force them
77+
# into fixing all linting issues in the whole file instead.
78+
args: --timeout=30m --whole-files
79+
7180
license:
7281
runs-on: ubuntu-latest
7382
steps:

0 commit comments

Comments
 (0)