File tree 3 files changed +20
-2
lines changed
3 files changed +20
-2
lines changed Original file line number Diff line number Diff line change 23
23
with :
24
24
go-version : " ~1.21.1"
25
25
26
+ - name : Cache tools
27
+ uses : actions/cache@v4
28
+ with :
29
+ path : bin
30
+ key : ${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('Makefile') }}
31
+
26
32
- name : " basic checks"
27
33
run : make ci
28
34
38
44
with :
39
45
go-version : " ~1.21.1"
40
46
47
+ - name : Cache tools
48
+ uses : actions/cache@v4
49
+ with :
50
+ path : bin
51
+ key : ${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('Makefile') }}
52
+
41
53
- uses : actions/cache@v4
42
54
with :
43
55
path : |
Original file line number Diff line number Diff line change 47
47
with :
48
48
go-version : " ~1.21.3"
49
49
50
+ - name : Cache tools
51
+ uses : actions/cache@v4
52
+ with :
53
+ path : bin
54
+ key : ${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('Makefile') }}
55
+
50
56
- name : " run tests"
51
57
env :
52
58
KUBE_VERSION : ${{ matrix.kube-version }}
Original file line number Diff line number Diff line change @@ -412,12 +412,12 @@ rm -rf $$TMP_DIR ;\
412
412
endef
413
413
414
414
.PHONY : kuttl
415
- kuttl :
415
+ kuttl : $( LOCALBIN )
416
416
@KUTTL=$(KUTTL ) KUTTL_VERSION=$(KUTTL_VERSION ) ./hack/install-kuttl.sh
417
417
418
418
OPERATOR_SDK = $(shell pwd) /bin/operator-sdk
419
419
.PHONY : operator-sdk
420
- operator-sdk :
420
+ operator-sdk : $( LOCALBIN )
421
421
@{ \
422
422
set -e ; \
423
423
if (` pwd` /bin/operator-sdk version | grep ${OPERATOR_SDK_VERSION} ) > /dev/null 2>&1 ; then \
You can’t perform that action at this time.
0 commit comments