Skip to content

🌱 Create GitHub client only if it is necessary (#92) #100

🌱 Create GitHub client only if it is necessary (#92)

🌱 Create GitHub client only if it is necessary (#92) #100

name: kubebuilder-markers-check
on:
push:
branches: [main]
pull_request:
branches: [main]
paths:
- "api/**"
- ".github/workflows/kubebuilder-markers-checker.yml"
jobs:
validation:
name: check for kubebuilder markers
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
# go is required for building controller-gen
- name: Setup Go
uses: ./.github/actions/setup-go
- name: Validation For Kubebuilder Markers
run: |
make generate-manifests
make generate-go-deepcopy
# release-manifests target requires kustomize so if the CI is taking longer time then can be removed.