File tree Expand file tree Collapse file tree 6 files changed +6
-637
lines changed
pkg/plugins/hybrid/v1alpha/scaffolds/internal/templates
testdata/hybrid/memcached-operator Expand file tree Collapse file tree 6 files changed +6
-637
lines changed Original file line number Diff line number Diff line change 1717 - name : Set up Go
1818 uses : actions/setup-go@v3
1919 with :
20- go-version : ~1.17
20+ go-version : ~1.18
2121 id : go
2222
2323 - name : Check out code into the Go module directory
5656 - name : Set up Go
5757 uses : actions/setup-go@v3
5858 with :
59- go-version : ~1.17
59+ go-version : ~1.18
6060 id : go
6161
6262 - name : Check out code into the Go module directory
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ func (f *GoMod) SetTemplateDefaults() error {
4646const goModTemplate = `
4747module {{ .Repo }}
4848
49- go 1.17
49+ go 1.18
5050
5151require (
5252 sigs.k8s.io/controller-runtime {{ .ControllerRuntimeVersion }}
Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ TMP_DIR=$$(mktemp -d) ;\
176176cd $$TMP_DIR ;\
177177go mod init tmp ;\
178178echo "Downloading $(2)" ;\
179- GOBIN=$(PROJECT_DIR)/bin go get $(2) ;\
179+ GOBIN=$(PROJECT_DIR)/bin go get $(2) && GOBIN=$(PROJECT_DIR)/bin go install $(2) ;\
180180rm -rf $$TMP_DIR ;\
181181}
182182endef
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ TMP_DIR=$$(mktemp -d) ;\
103103cd $$TMP_DIR ;\
104104go mod init tmp ;\
105105echo "Downloading $(2 ) " ;\
106- GOBIN=$(PROJECT_DIR ) /bin go get $(2 ) ;\
106+ GOBIN=$(PROJECT_DIR ) /bin go get $(2 ) && GOBIN= $( PROJECT_DIR ) /bin go install $( 2 ) ;\
107107rm -rf $$TMP_DIR ;\
108108}
109109endef
Original file line number Diff line number Diff line change 11module github.com/example/memcached-operator
22
3- go 1.17
3+ go 1.18
44
55require (
66 github.com/onsi/ginkgo v1.16.5
You can’t perform that action at this time.
0 commit comments