Skip to content

Commit 00f8a61

Browse files
committed
chore: update github action to check only go mod tidy
Signed-off-by: Tobias Giese <[email protected]>
1 parent e0fb813 commit 00f8a61

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -249,11 +249,10 @@ undeploy-k8s: export OPERATOR_EXEC=kubectl
249249
undeploy-k8s: undeploy
250250

251251
deps-update:
252-
go mod tidy && \
253-
go mod vendor
252+
go mod tidy
254253

255254
check-deps: deps-update
256-
@set +e; git diff --quiet HEAD go.sum go.mod vendor; \
255+
@set +e; git diff --quiet HEAD go.sum go.mod; \
257256
if [ $$? -eq 1 ]; \
258257
then echo -e "\ngo modules are out of date. Please commit after running 'make deps-update' command\n"; \
259258
exit 1; fi

0 commit comments

Comments
 (0)