Skip to content

fix: revert back to normal #12

fix: revert back to normal

fix: revert back to normal #12

Workflow file for this run

name: Validate
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: sudo apt-get install -y yara
- run: |
output=$(find . -type f -iname "*.yara" -exec yara -w {} /dev/null \; 2>&1)
echo "$output"
if echo "$output" | grep -q 'syntax error'; then
echo "syntax error"
exit 1
fi