From 020302f3cea1aacface8bc4b5b629ea8ce7ab1c1 Mon Sep 17 00:00:00 2001 From: Jamie Tanna Date: Sun, 17 May 2026 16:17:15 +0100 Subject: [PATCH] chore: add `tidy-ci` Make task So we can use the new version of oapi-codegen/actions. --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index fbf8443..647ea62 100644 --- a/Makefile +++ b/Makefile @@ -30,3 +30,8 @@ test: tidy: @echo "tidy..." git ls-files go.mod '**/*go.mod' -z | xargs -0 -I{} bash -xc 'cd $$(dirname {}) && go mod tidy' + +tidy-ci: + @echo "tidy..." + git ls-files go.mod '**/*go.mod' -z | xargs -0 -I{} bash -xc 'cd $$(dirname {}) && go mod tidy' + git diff --exit-code --patch