1 Commits

Author SHA1 Message Date
c83c4171a2 fix git grep
Some checks failed
Gentoo Utils / build-oci-image (push) Successful in 6s
Gentoo Utils / grep (push) Failing after 2s
Gentoo Utils / check-format (push) Successful in 7s
Gentoo Utils / docs (push) Successful in 12s
Gentoo Utils / build (push) Successful in 20s
Gentoo Utils / test (push) Successful in 27s
Gentoo Utils / fuzz (push) Failing after 41s
2025-12-14 20:48:08 -06:00

View File

@@ -4,7 +4,7 @@ on: [push]
defaults:
run:
shell: bash -le -o pipefail {0}
shell: bash -el {0}
jobs:
build-oci-image:
@@ -191,5 +191,6 @@ jobs:
uses: actions/checkout@v5
- name: grep for patterns
# negate git grep ret code because 1 means no findings
run: |
git grep -E 'todo!|dbg!' -- '*.rs' && exit 1 || exit 0
git --no-pager grep -E 'todo!|dbg!' -- '*.rs' && return 1 || return 0