Skip to content

Commit 1d6d327

Browse files
committed
Clean go cache before verify
Signed-off-by: Todd Short <[email protected]>
1 parent 9ce10ed commit 1d6d327

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/sanity.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ jobs:
1717
- uses: actions/setup-go@v5
1818
with:
1919
go-version-file: "go.mod"
20+
- name: Install lilgpgme-dev
21+
run: sudo apt install -y libgpgme-dev
22+
- name: Clean go cache
23+
run: go clean -modcache
2024
- name: Run verification checks
2125
run: make verify
2226
lint:

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,9 @@ manifests: $(CONTROLLER_GEN) #EXHELP Generate WebhookConfiguration, ClusterRole,
140140

141141
.PHONY: generate
142142
generate: $(CONTROLLER_GEN) #EXHELP Generate code containing DeepCopy, DeepCopyInto, and DeepCopyObject method implementations.
143-
$(CONTROLLER_GEN) object:headerFile="hack/boilerplate.go.txt" paths="./..."
143+
$(CONTROLLER_GEN) object:headerFile="hack/boilerplate.go.txt" paths="internal/..."
144+
$(CONTROLLER_GEN) object:headerFile="hack/boilerplate.go.txt" paths="cmd/..."
145+
$(CONTROLLER_GEN) object:headerFile="hack/boilerplate.go.txt" paths="api/..."
144146

145147
.PHONY: verify
146148
verify: tidy fmt generate manifests crd-ref-docs #HELP Verify all generated code is up-to-date.

0 commit comments

Comments
 (0)