Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
Madhu-1 committed Apr 4, 2024
1 parent 4412136 commit ac87952
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.

@@ -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

0 comments on commit ac87952

Please sign in to comment.