From 1b01d28c48c76753af1aa4406147ceea8ef17371 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 e75e546d4c..f4124112bf 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