add workflows
Some checks failed
Project Report / project-report (push) Successful in 4s
Validate Code / validate (push) Failing after 3s

This commit is contained in:
Frank Harris 2026-06-12 14:40:11 -05:00
parent f272748be4
commit cff78d1230
6 changed files with 704 additions and 16 deletions

View file

@ -0,0 +1,18 @@
name: Project Report
on:
push:
pull_request:
jobs:
project-report:
runs-on: linux-dev
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Generate project report
run: |
chmod +x tools/project-report.sh
./tools/project-report.sh

View file

@ -1,4 +1,3 @@
name: Validate Code
on:
@ -10,21 +9,10 @@ jobs:
runs-on: linux-dev
steps:
- name: Checkout repo
- name: Checkout repository
uses: actions/checkout@v4
- name: Check PHP syntax
- name: Run validation
run: |
if find . -name "*.php" | grep -q .; then
find . -name "*.php" -print0 | xargs -0 -n1 php -l
else
echo "No PHP files found."
fi
- name: Check C# build
run: |
if find . -name "*.csproj" | grep -q .; then
dotnet build
else
echo "No C# project found."
fi
chmod +x tools/validate-code.sh
./tools/validate-code.sh