From: Simon Ruderich Date: Sun, 18 Apr 2021 07:52:20 +0000 (+0200) Subject: ci: check for untracked and unignored files X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=4880b159ae4f7e34e530553652faf8043cc76232;p=safcm%2Fsafcm.git ci: check for untracked and unignored files --- 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?