diff --git a/.github/workflows/golang.yml b/.github/workflows/golang.yml index 940ec0de..426bacb1 100644 --- a/.github/workflows/golang.yml +++ b/.github/workflows/golang.yml @@ -50,6 +50,8 @@ jobs: skip-cache: true - name: Check golang modules run: make check-vendor + - name: Check generated assets + run: make validate-generated-assets test: name: Unit test runs-on: ubuntu-latest diff --git a/Makefile b/Makefile index b1d39cd5..aef146d2 100644 --- a/Makefile +++ b/Makefile @@ -96,7 +96,7 @@ generate-clientset: install-tools --input-base $(CURDIR)/api \ --input "apps/v1alpha1" -validate-generated-assets: manifests generate generate-clientset +validate-generated-assets: manifests generate generate-clientset sync-crds @echo "- Verifying that the generated code and manifests are in-sync..." @git diff --exit-code -- api config