Compare commits
1 Commits
13af2b4b1f
...
6d2fe7dc2a
| Author | SHA1 | Date | |
|---|---|---|---|
| 6d2fe7dc2a |
@@ -4,7 +4,11 @@ on: [push]
|
||||
|
||||
defaults:
|
||||
run:
|
||||
shell: bash -le -o pipefail {0}
|
||||
shell: bash -el {0}
|
||||
|
||||
# fixes rare instances of git commands failing because TERM isnt set
|
||||
env:
|
||||
TERM: xterm
|
||||
|
||||
jobs:
|
||||
build-oci-image:
|
||||
@@ -191,5 +195,7 @@ 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user