From 0e4152fab9c107d5aaa64ce53aa33b8ef2e68dc2 Mon Sep 17 00:00:00 2001 From: Tobias Giese Date: Thu, 18 Jul 2024 10:03:40 +0200 Subject: [PATCH] chore: update github action to check only go mod tidy Signed-off-by: Tobias Giese --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 9f3105f52..405b68672 100644 --- a/Makefile +++ b/Makefile @@ -249,11 +249,10 @@ undeploy-k8s: export OPERATOR_EXEC=kubectl undeploy-k8s: undeploy deps-update: - go mod tidy && \ - go mod vendor + go mod tidy check-deps: deps-update - @set +e; git diff --quiet HEAD go.sum go.mod vendor; \ + @set +e; git diff --quiet HEAD go.sum go.mod; \ if [ $$? -eq 1 ]; \ then echo -e "\ngo modules are out of date. Please commit after running 'make deps-update' command\n"; \ exit 1; fi