Skip to content

Commit e2c7efb

Browse files
authored
lint: Check that make manifests has no changes (#191)
1 parent e8d1009 commit e2c7efb

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/lint.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,14 @@ jobs:
4141
echo "ERROR: 'go mod tidy' modified the source tree."
4242
exit 1
4343
fi
44+
45+
- name: make manifests
46+
run: |
47+
make manifests
48+
if ! (test -z "$(git ls-files --exclude-standard --others .)$(git diff .)"); then
49+
git ls-files --exclude-standard --others .
50+
git diff .
51+
echo "ERROR: 'make manifests' modified the source tree."
52+
exit 1
53+
fi
54+

0 commit comments

Comments
 (0)