crds.yml 535 B

12345678910111213141516171819202122232425262728293031
  1. name: CRDs
  2. on:
  3. push:
  4. branches:
  5. - main
  6. - release-*
  7. paths:
  8. - 'apis/**'
  9. pull_request:
  10. paths:
  11. - 'apis/**'
  12. workflow_dispatch: {}
  13. permissions:
  14. contents: read
  15. jobs:
  16. crd-tests:
  17. runs-on: ubuntu-latest
  18. steps:
  19. - name: Checkout
  20. uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
  21. with:
  22. fetch-depth: 0
  23. - name: Generate crds for testing
  24. run: make crds.generate.tests
  25. - name: Run crd tests
  26. run: make test.crds