mirror of
https://github.com/YuzuZensai/netbird-kubernetes-operator.git
synced 2026-09-13 10:49:15 +00:00
Add checks for manifest and code generation (#140)
Manifest generation has drifted from what is committed to the repo. This change adds checks for both manifests and code generation to make sure it is up to date in every PR.
This commit is contained in:
@@ -25,5 +25,13 @@ jobs:
|
||||
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 #v6.3.0
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
- name: Verify manifests are generated
|
||||
run: |
|
||||
make manifests
|
||||
git diff --exit-code
|
||||
- name: Verify code is generated
|
||||
run: |
|
||||
make generate
|
||||
git diff --exit-code
|
||||
- name: Running Tests
|
||||
run: make test
|
||||
|
||||
Reference in New Issue
Block a user