Skip to content

Commit a5035bd

Browse files
committed
CI step to check deepcopy is up to date
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
1 parent e5d5dfa commit a5035bd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ jobs:
1414
uses: actions/checkout@v4
1515
- name: Check license
1616
run: DOCKER_BUILDKIT=1 make check-license
17+
- name: Check deepcopy
18+
run: |
19+
make deepcopy
20+
if [ -n "$(git status --porcelain -- docs/reference)" ]; then
21+
echo >&2 'ERROR: DeepCopy isn't up to date with code. Please run "make deepcopy"'
22+
fi
1723
1824
test:
1925
strategy:

0 commit comments

Comments
 (0)