Skip to content

test workflow (one last time) #15

test workflow (one last time)

test workflow (one last time) #15

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)
if echo "$output" | grep -q 'syntax error'; then
echo "$output"
exit 1
fi