Skip to content

Commit

Permalink
ci: use timeout for golangci-lint
Browse files Browse the repository at this point in the history
deadline is replaced with timeout
in recent release and updated the
reference to the new sample yaml.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
  • Loading branch information
Madhu-1 committed Apr 8, 2024
1 parent 1d6f921 commit be418b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/golangci.yml.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
# https://github.com/golangci/golangci-lint/blob/master/.golangci.example.yml
# https://github.com/golangci/golangci-lint/blob/master/.golangci.reference.yml
# This file contains all available configuration options
# with their default values.

Expand All @@ -12,7 +12,7 @@ run:
concurrency: 4

# timeout for analysis, e.g. 30s, 5m, default is 1m
deadline: 20m
timeout: 20m

# exit code when at least one issue was found, default is 1
issues-exit-code: 1
Expand Down

0 comments on commit be418b0

Please sign in to comment.