From 574d119ea67fae5e151d02c5694d2aa4cddd583c Mon Sep 17 00:00:00 2001 From: Virtual Maker <56232456+virtual-maker@users.noreply.github.com> Date: Tue, 31 Dec 2024 23:08:15 +0100 Subject: [PATCH] Improve build.yml --- .github/workflows/.ci_scripts/check-missing-keywords.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/.ci_scripts/check-missing-keywords.sh b/.github/workflows/.ci_scripts/check-missing-keywords.sh index e5cdac53d..5ba1640b3 100644 --- a/.github/workflows/.ci_scripts/check-missing-keywords.sh +++ b/.github/workflows/.ci_scripts/check-missing-keywords.sh @@ -51,9 +51,11 @@ result=1 fi # Evaluate if there exists booleans in the code tree (not counting this file) -if git grep -q boolean -- `git ls-files | grep -v check-missing-keywords.sh`; then +####if git grep -q boolean -- `git ls-files | grep -v check-missing-keywords.sh`; then +if git grep -q boolean -- `git ls-files | grep -v check-missing-keywords.sh | grep -v '^\.ci/'`; then echo "Booleans in the code tree:" - git grep boolean -- `git ls-files | grep -v check-missing-keywords.sh` + ####git grep boolean -- `git ls-files | grep -v check-missing-keywords.sh` + git grep -q boolean -- `git ls-files | grep -v check-missing-keywords.sh | grep -v '^\.ci/'` echo "grep test end" echo "You have added at least one occurence of the deprecated boolean data type. Please use bool instead." > booleans.txt