]> ruderich.org/simon Gitweb - safcm/safcm.git/commitdiff
ci: also run tests with strict umask
authorSimon Ruderich <simon@ruderich.org>
Sat, 17 Apr 2021 06:36:05 +0000 (08:36 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sat, 17 Apr 2021 06:36:05 +0000 (08:36 +0200)
ci/run

diff --git a/ci/run b/ci/run
index 01ee682ba9d5934abf8672ad97a5d10b0a0e2540..30b22a1b8b11f58bd6784bc4f3fb08d02ee24bb3 100755 (executable)
--- a/ci/run
+++ b/ci/run
@@ -10,6 +10,13 @@ export PATH
 make
 make test
 
+# Strict umask
+umask 077
+rm -rf *
+git checkout .
+make
+make test
+
 # Additional static checks only run in CI
 go get honnef.co/go/tools/cmd/staticcheck
 staticcheck ./...