Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ PWD = $(shell pwd)

# constants
# renovate: datasource=github-releases depName=golangci/golangci-lint
GOLANGCI_VERSION = 2.11.4
GOLANGCI_VERSION = 2.12.1
all: git-hooks tidy ## Initializes all tools

out:
Expand Down Expand Up @@ -36,7 +36,7 @@ out/bin:

GOLANGCI_LINT = bin/golangci-lint-$(GOLANGCI_VERSION)
$(GOLANGCI_LINT):
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | bash -s -- -b bin v$(GOLANGCI_VERSION)
curl -sSfL https://golangci-lint.run/install.sh | bash -s -- -b bin v$(GOLANGCI_VERSION)
@mv bin/golangci-lint "$(@)"

lint: fmt $(GOLANGCI_LINT) download ## Lints all code with golangci-lint
Expand Down
2 changes: 1 addition & 1 deletion pkg/renamepvc/renamepvc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func TestPVCRename(t *testing.T) {
ObjectMeta: metav1.ObjectMeta{Name: "pod", Namespace: "test3"},
Spec: corev1.PodSpec{
Volumes: []corev1.Volume{{
Name: "test",
Name: "testvol",
VolumeSource: corev1.VolumeSource{
PersistentVolumeClaim: &corev1.PersistentVolumeClaimVolumeSource{
ClaimName: "test3-old", ReadOnly: false,
Expand Down
Loading