Compare commits
1 Commits
dcd8bcef10
...
c83c4171a2
| Author | SHA1 | Date | |
|---|---|---|---|
| c83c4171a2 |
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user