File tree Expand file tree Collapse file tree 3 files changed +7
-12
lines changed Expand file tree Collapse file tree 3 files changed +7
-12
lines changed Original file line number Diff line number Diff line change 3
3
linters :
4
4
enable :
5
5
- nakedret
6
- - interfacer
7
- - varcheck
8
- - deadcode
9
- - structcheck
10
6
- misspell
11
- - maligned
12
7
- ineffassign
13
8
- goconst
14
9
- goimports
15
10
- errcheck
16
11
- dupl
17
12
- unparam
18
- - golint
13
+ - revive
19
14
- staticcheck
20
15
- unused
21
16
- gosimple
@@ -27,7 +22,7 @@ issues:
27
22
# Allow dot imports for ginkgo and gomega
28
23
- source : ginkgo|gomega
29
24
linters :
30
- - golint
25
+ - revive
31
26
text : " should not use dot imports"
32
27
33
28
- linters :
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ export IMAGE_VERSION = v1.27.0
9
9
export SIMPLE_VERSION = $(shell (test "$(shell git describe --tags) " = "$(shell git describe --tags --abbrev=0) " && echo $(shell git describe --tags) ) || echo $(shell git describe --tags --abbrev=0) +git)
10
10
export GIT_VERSION = $(shell git describe --dirty --tags --always)
11
11
export GIT_COMMIT = $(shell git rev-parse HEAD)
12
- export K8S_VERSION = 1.25 .0
12
+ export K8S_VERSION = 1.26 .0
13
13
14
14
# Build settings
15
15
export TOOLS_DIR = tools/bin
@@ -57,7 +57,7 @@ fix: ## Fixup files in the repo.
57
57
58
58
.PHONY : setup-lint
59
59
setup-lint : # # Setup the lint
60
- $(SCRIPTS_DIR ) /fetch golangci-lint 1.50.0
60
+ $(SCRIPTS_DIR ) /fetch golangci-lint 1.51.2
61
61
62
62
.PHONY : lint
63
63
lint : setup-lint # # Run the lint check
@@ -175,12 +175,12 @@ cluster-create::
175
175
176
176
.PHONY : dev-install
177
177
dev-install ::
178
- $(SCRIPTS_DIR ) /fetch kind 0.16 .0
178
+ $(SCRIPTS_DIR ) /fetch kind 0.17 .0
179
179
$(SCRIPTS_DIR ) /fetch kubectl $(K8S_VERSION ) # Install kubectl AFTER envtest because envtest includes its own kubectl binary
180
180
181
181
.PHONY : test-e2e-teardown
182
182
test-e2e-teardown :
183
- $(SCRIPTS_DIR ) /fetch kind 0.16 .0
183
+ $(SCRIPTS_DIR ) /fetch kind 0.17 .0
184
184
$(TOOLS_DIR ) /kind delete cluster --name $(KIND_CLUSTER )
185
185
rm -f $(KUBECONFIG )
186
186
Original file line number Diff line number Diff line change @@ -247,7 +247,7 @@ func TestAnsibleVerbosityString(t *testing.T) {
247
247
248
248
func TestMakeParameters (t * testing.T ) {
249
249
var (
250
- inputSpec string = "testKey"
250
+ inputSpec = "testKey"
251
251
)
252
252
253
253
testCases := []struct {
You can’t perform that action at this time.
0 commit comments