File tree Expand file tree Collapse file tree 10 files changed +10
-10
lines changed
cns/multitenantcontroller/mockclients
multitenantnetworkcontainer Expand file tree Collapse file tree 10 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1717 fetch-depth : 0
1818 - uses : actions/setup-go@v5
1919 with :
20- go-version : stable
20+ go-version-file : go.mod
2121 - name : Regenerate NodeNetworkConfig CRD
2222 run : make -C crd/nodenetworkconfig
2323 - name : Regenerate MultitenantNetworkContainer CRD
Original file line number Diff line number Diff line change 2727
2828 - uses : actions/setup-go@v5
2929 with :
30- go-version : stable
30+ go-version-file : go.mod
3131
3232 - name : Setup Kind
3333
Original file line number Diff line number Diff line change 3434
3535 - uses : actions/setup-go@v5
3636 with :
37- go-version : stable
37+ go-version-file : go.mod
3838
3939 - name : Setup Kind
4040 uses : helm/kind-action@v1
Original file line number Diff line number Diff line change 2121 steps :
2222 - uses : actions/setup-go@v5
2323 with :
24- go-version : stable
24+ go-version-file : go.mod
2525 - uses : actions/checkout@v4
2626 with :
2727 fetch-depth : 0
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ stages:
6767 { { { {
6868 sudo -E env "PATH=$PATH" make test-all;
6969 echo $? >&3;
70- } | tee >(go tool go-junit-report > report.xml) >&4;
70+ } | tee >(go tool github.com/jstemmer/ go-junit-report > report.xml) >&4;
7171 } 3>&1;
7272 } | { read xs; exit $xs; }
7373 } 4>&1
Original file line number Diff line number Diff line change @@ -674,7 +674,7 @@ clean: ## Clean build artifacts.
674674
675675LINT_PKG ?= .
676676
677- GOLANGCI_LINT = go tool golangci-lint
677+ GOLANGCI_LINT = go tool github.com/golangci/golangci-lint/cmd/ golangci-lint
678678
679679lint : # # Fast lint vs default branch showing only new issues.
680680 GOGC=20 $(GOLANGCI_LINT ) run --new-from-rev release/v1.4 --config=.golangci.yml --timeout 10m -v $(LINT_PKG ) /...
Original file line number Diff line number Diff line change 11REPO_ROOT = $(shell git rev-parse --show-toplevel)
2- MOCKGEN = go tool mockgen
2+ MOCKGEN = go tool github.com/golang/mock/ mockgen
33
44generate : $(MOCKGEN ) # # Generate mock clients
55 @go mod vendor
Original file line number Diff line number Diff line change 11.DEFAULT_GOAL = all
22
33REPO_ROOT = $(shell git rev-parse --show-toplevel)
4- CONTROLLER_GEN = go tool controller-gen
4+ CONTROLLER_GEN = go tool sigs.k8s.io/controller-tools/cmd/ controller-gen
55
66all : generate manifests
77
Original file line number Diff line number Diff line change 11.DEFAULT_GOAL : all
22
33REPO_ROOT = $(shell git rev-parse --show-toplevel)
4- CONTROLLER_GEN = go tool controller-gen
4+ CONTROLLER_GEN = go tool sigs.k8s.io/controller-tools/cmd/ controller-gen
55
66all : generate manifests
77
Original file line number Diff line number Diff line change 11.DEFAULT_GOAL = all
22
33REPO_ROOT = $(shell git rev-parse --show-toplevel)
4- CONTROLLER_GEN = go tool controller-gen
4+ CONTROLLER_GEN = go tool sigs.k8s.io/controller-tools/cmd/ controller-gen
55
66all : generate manifests
77
You can’t perform that action at this time.
0 commit comments