Skip to content

Commit

Permalink
ci: drop removed deadline option (#806)
Browse files Browse the repository at this point in the history
* ci: drop removed deadline option

The deadline option is dropped since golangci-lint v1.57:
https://github.com/golangci/golangci-lint/blob/e0e37c43762068149116bcd69b305c1ca05647ae/CHANGELOG.md?plain=1#L319
Signed-off-by: spacewander <spacewanderlzx@gmail.com>

* move timeout option to the config file

Signed-off-by: spacewander <spacewanderlzx@gmail.com>

---------

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
  • Loading branch information
spacewander authored Dec 2, 2024
1 parent 1ee7a36 commit 40c942c
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:
deadline: 5m
timeout: 5m

linters:
enable:
Expand Down

0 comments on commit 40c942c

Please sign in to comment.