grep for todo! and dbg! in check_commands and in CI #12

Merged
jturnerusa merged 6 commits from feature/add-grep-for-dbg-and-todo-to-ci into master 2025-12-13 22:39:17 -06:00
2 changed files with 2 additions and 7 deletions
Showing only changes of commit 87d02f1b3d - Show all commits

View File

@@ -165,9 +165,4 @@ jobs:
- name: grep for patterns
run: |
if git grep -e 'dbg!|todo!' -- '*.rs'; then
false
else
true
fi
git grep 'todo!|dbg!' -- '*.rs' && exit 1

View File

@@ -3,4 +3,4 @@ ninja rustfmt -C build
ninja rustdoc -C build
ninja clippy -C build
ninja test -C build
if git grep -e 'dbg!' -- '*.rs'; then false; else true; fi
git grep 'todo!|dbg!' -- '*.rs' && exit 1