Skip to content

Commit

Permalink
Merge pull request #3865 from afritzler/chore/golangci-config
Browse files Browse the repository at this point in the history
✨ : (go/v4): Replace `deadline` in favor of `timeout` in `golangci-lint` configuration
  • Loading branch information
k8s-ci-robot authored Apr 20, 2024
2 parents 72586d3 + d3e7719 commit a2dfc89
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
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
allow-parallel-runners: true

issues:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
run:
deadline: 5m
timeout: 5m
allow-parallel-runners: true

issues:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
run:
deadline: 5m
timeout: 5m
allow-parallel-runners: true

issues:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
run:
deadline: 5m
timeout: 5m
allow-parallel-runners: true

issues:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
run:
deadline: 5m
timeout: 5m
allow-parallel-runners: true

issues:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func (f *Golangci) SetTemplateDefaults() error {

//nolint:lll
const golangciTemplate = `run:
deadline: 5m
timeout: 5m
allow-parallel-runners: true
issues:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
run:
deadline: 5m
timeout: 5m
allow-parallel-runners: true

issues:
Expand Down
2 changes: 1 addition & 1 deletion testdata/project-v4-multigroup/.golangci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
run:
deadline: 5m
timeout: 5m
allow-parallel-runners: true

issues:
Expand Down
2 changes: 1 addition & 1 deletion testdata/project-v4-with-deploy-image/.golangci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
run:
deadline: 5m
timeout: 5m
allow-parallel-runners: true

issues:
Expand Down
2 changes: 1 addition & 1 deletion testdata/project-v4-with-grafana/.golangci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
run:
deadline: 5m
timeout: 5m
allow-parallel-runners: true

issues:
Expand Down
2 changes: 1 addition & 1 deletion testdata/project-v4/.golangci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
run:
deadline: 5m
timeout: 5m
allow-parallel-runners: true

issues:
Expand Down

0 comments on commit a2dfc89

Please sign in to comment.