Commit a7f6e03
authored
✨ Upgrade golangci from 1.54 to 1.57 (#3846)
* Upgrade golangci from 1.54 to 1.57
* Fix lint issues after upgrade by:
a) Ensure that in all places we are ignoring the exception equally
```go
// nolint:revive
. "github.com/onsi/ginkgo/v2"
// nolint:revive
. "github.com/onsi/gomega"
```
b) Ensure that we use `_` for args not explicit called in the funcs. Example
```go
PreRunE: func(_ *cobra.Command, _ []string) error {
```1 parent 6bcd440 commit a7f6e03
File tree
194 files changed
+366
-78
lines changed- .github/workflows
- docs/book/src
- component-config-tutorial/testdata/project
- test
- e2e
- utils
- cronjob-tutorial/testdata/project
- api/v1
- internal/controller
- test
- e2e
- utils
- getting-started/testdata/project
- internal/controller
- test
- e2e
- utils
- multiversion-tutorial/testdata/project
- api
- v1
- v2
- internal/controller
- test
- e2e
- utils
- hack/docs/internal/cronjob-tutorial
- pkg
- cli
- alpha
- config
- store
- yaml
- v2
- v3
- internal/validation
- machinery
- model
- resource
- stage
- plugins
- external
- golang
- deploy-image/v1alpha1/scaffolds/internal/templates/controllers
- v2/scaffolds/internal/templates/controllers
- v3/scaffolds/internal/templates
- api
- controllers
- v4/scaffolds/internal/templates
- api
- controllers
- test
- e2e
- utils
- plugin
- util
- testdata
- project-v2/controllers
- project-v3
- api/v1
- controllers
- project-v4-multigroup-with-deploy-image
- api
- crew/v1
- ship
- v1beta1
- v1
- v2alpha1
- v1
- internal/controller
- apps
- crew
- fiz
- foo.policy
- foo
- sea-creatures
- ship
- test
- e2e
- utils
- project-v4-multigroup
- api
- crew/v1
- ship
- v1beta1
- v1
- v2alpha1
- v1
- internal/controller
- apps
- crew
- fiz
- foo.policy
- foo
- sea-creatures
- ship
- test
- e2e
- utils
- project-v4-with-deploy-image
- api/v1alpha1
- internal/controller
- test
- e2e
- utils
- project-v4-with-grafana
- test
- e2e
- utils
- project-v4
- api/v1
- internal/controller
- test
- e2e
- utils
- test/e2e
- alphagenerate
- deployimage
- externalplugin
- grafana
- utils
- v4
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
194 files changed
+366
-78
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
| 164 | + | |
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
| 164 | + | |
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
| 31 | + | |
30 | 32 | | |
31 | | - | |
32 | 33 | | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| |||
0 commit comments