Unity-Customer-Template/validate.yml
Frank Harris 49b14d5d03
Some checks failed
Project Report / project-report (push) Successful in 3s
Validate Code / validate (push) Failing after 2s
test
2026-06-15 10:38:49 -05:00

31 lines
595 B
YAML

name: Validate Code
on:
push:
pull_request:
jobs:
validate:
runs-on: linux-dev
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run validation
run: |
chmod +x tools/validate-code.sh
./tools/validate-code.sh || {
echo ""
echo "===== VALIDATION FAILED ====="
echo ""
if [ -f reports/errors.md ]; then
cat reports/errors.md
else
echo "No reports/errors.md file was created."
fi
exit 1
}