Skip to content

Commit eddcf70

Browse files
ndeloofglours
authored andcommitted
CI step to check deepcopy is up to date
Signed-off-by: Nicolas De Loof <[email protected]>
1 parent 9cf2db8 commit eddcf70

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ jobs:
1414
uses: actions/checkout@v4
1515
- name: Check license
1616
run: DOCKER_BUILDKIT=1 make check-license
17+
- uses: actions/setup-go@v5
18+
- name: Check deepcopy
19+
run: |
20+
make deepcopy
21+
if [ -n "$(git status --porcelain)" ]; then
22+
echo >&2 'ERROR: DeepCopy is not up to date with code. Please run "make deepcopy"'
23+
fi
1724
1825
test:
1926
strategy:

0 commit comments

Comments
 (0)