Skip to content

Commit a2dfc89

Browse files
authored
Merge pull request #3865 from afritzler/chore/golangci-config
✨ : (go/v4): Replace `deadline` in favor of `timeout` in `golangci-lint` configuration
2 parents 72586d3 + d3e7719 commit a2dfc89

File tree

11 files changed

+11
-11
lines changed

11 files changed

+11
-11
lines changed

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
run:
2-
deadline: 5m
2+
timeout: 5m
33
allow-parallel-runners: true
44

55
issues:

docs/book/src/component-config-tutorial/testdata/project/.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
run:
2-
deadline: 5m
2+
timeout: 5m
33
allow-parallel-runners: true
44

55
issues:

docs/book/src/cronjob-tutorial/testdata/project/.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
run:
2-
deadline: 5m
2+
timeout: 5m
33
allow-parallel-runners: true
44

55
issues:

docs/book/src/getting-started/testdata/project/.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
run:
2-
deadline: 5m
2+
timeout: 5m
33
allow-parallel-runners: true
44

55
issues:

docs/book/src/multiversion-tutorial/testdata/project/.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
run:
2-
deadline: 5m
2+
timeout: 5m
33
allow-parallel-runners: true
44

55
issues:

pkg/plugins/golang/v4/scaffolds/internal/templates/golangci.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ func (f *Golangci) SetTemplateDefaults() error {
4343

4444
//nolint:lll
4545
const golangciTemplate = `run:
46-
deadline: 5m
46+
timeout: 5m
4747
allow-parallel-runners: true
4848
4949
issues:

testdata/project-v4-multigroup-with-deploy-image/.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
run:
2-
deadline: 5m
2+
timeout: 5m
33
allow-parallel-runners: true
44

55
issues:

testdata/project-v4-multigroup/.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
run:
2-
deadline: 5m
2+
timeout: 5m
33
allow-parallel-runners: true
44

55
issues:

testdata/project-v4-with-deploy-image/.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
run:
2-
deadline: 5m
2+
timeout: 5m
33
allow-parallel-runners: true
44

55
issues:

testdata/project-v4-with-grafana/.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
run:
2-
deadline: 5m
2+
timeout: 5m
33
allow-parallel-runners: true
44

55
issues:

0 commit comments

Comments
 (0)