add target and script to keep crds in sync

Signed-off-by: Sanskar Jaiswal <sanskar.jaiswal@weave.works>
This commit is contained in:
Sanskar Jaiswal
2022-08-11 14:23:31 +05:30
parent f449ee1878
commit fe37bdd9c7
6 changed files with 60 additions and 30 deletions

View File

@@ -35,6 +35,8 @@ jobs:
go install golang.org/x/tools/cmd/goimports
- name: Run linters
run: make test-fmt test-codegen
- name: Verify CRDs
run: make verify-crd
- name: Run tests
run: go test -race -coverprofile=coverage.txt -covermode=atomic $(go list ./pkg/...)
- name: Check if working tree is dirty