From 4880b159ae4f7e34e530553652faf8043cc76232 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 18 Apr 2021 09:52:20 +0200 Subject: [PATCH] ci: check for untracked and unignored files --- ci/run | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ci/run b/ci/run index 92e81a6..25b0642 100755 --- a/ci/run +++ b/ci/run @@ -25,3 +25,7 @@ make test $flags # Additional static checks only run in CI go get honnef.co/go/tools/cmd/staticcheck staticcheck ./... + +test -z "$(git clean -nd)" # any untracked files left? +make clean +test -z "$(git clean -ndx)" # any unignored files left? -- 2.43.2