| 123456789101112131415161718192021222324252627282930313233 |
- name: CRDs
- on:
- push:
- branches:
- - main
- paths:
- - 'apis/**'
- pull_request:
- paths:
- - 'apis/**'
- workflow_dispatch: {}
- permissions:
- contents: read
- jobs:
- crd-tests:
- runs-on: ubuntu-latest
- steps:
- - uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
- with:
- egress-policy: audit
- - name: Checkout
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- with:
- fetch-depth: 0
- - name: Generate crds for testing
- run: make crds.generate.tests
- - name: Run crd tests
- run: make test.crds
|