ci: update golangi-lint to v1.54.2

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
This commit is contained in:
Mikko Ylinen 2023-09-05 15:37:23 +03:00
parent 69f5ccfe66
commit 1c209ab404
2 changed files with 4 additions and 2 deletions

View File

@ -10,7 +10,7 @@ EXTRA_BUILD_ARGS ?= ""
CERT_MANAGER_VERSION ?= v1.12.2
CONTROLLER_GEN_VERSION ?= v0.13.0
GOLANGCI_LINT_VERSION ?= v1.53.3
GOLANGCI_LINT_VERSION ?= v1.54.2
KIND_VERSION ?= v0.19.0
GOLICENSES_VERSION ?= v1.6.0
# Default bundle image tag

View File

@ -60,7 +60,9 @@ func TestUpgrade(test *testing.T) {
},
}
for _, t := range tests {
for i := range tests {
t := tests[i]
upgrade := UpgradeImages(&t.image, &t.initimage)
if !(upgrade == t.upgrade && t.image == t.expectedImage && t.initimage == t.expectedInitimage) {