Skip to content

Commit

Permalink
Improve build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
virtual-maker committed Dec 31, 2024
1 parent 640d9c4 commit 574d119
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/.ci_scripts/check-missing-keywords.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 574d119

Please sign in to comment.