File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 14
14
- " "
15
15
- tools/setup-envtest
16
16
steps :
17
+ - uses : actions/setup-go@v4
18
+ with :
19
+ go-version : ' 1.19'
20
+ cache : false
17
21
- uses : actions/checkout@v3
18
22
- name : golangci-lint
19
23
uses : golangci/golangci-lint-action@v3
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ $(CONTROLLER_GEN): $(TOOLS_DIR)/go.mod # Build controller-gen from tools folder.
75
75
$(GOLANGCI_LINT ) : .github/workflows/golangci-lint.yml # Download golanci-lint using hack script into tools folder.
76
76
hack/ensure-golangci-lint.sh \
77
77
-b $(TOOLS_BIN_DIR ) \
78
- $(shell cat .github/workflows/golangci-lint.yml | grep version | sed 's/.* version: //')
78
+ $(shell cat .github/workflows/golangci-lint.yml | grep " version: v" | sed 's/.* version: //')
79
79
80
80
# # --------------------------------------
81
81
# # Linting
You can’t perform that action at this time.
0 commit comments