Skip to content

Commit c90d870

Browse files
committed
chore: add tidy-ci Make task
So we can use the new version of oapi-codegen/actions.
1 parent f2ffcb1 commit c90d870

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,8 @@ test:
3030
tidy:
3131
@echo "tidy..."
3232
git ls-files go.mod '**/*go.mod' -z | xargs -0 -I{} bash -xc 'cd $$(dirname {}) && go mod tidy'
33+
34+
tidy-ci:
35+
@echo "tidy..."
36+
git ls-files go.mod '**/*go.mod' -z | xargs -0 -I{} bash -xc 'cd $$(dirname {}) && go mod tidy'
37+
git diff --exit-code --patch

0 commit comments

Comments
 (0)