Skip to content

Feature/Changed license from Apache 2.0 to MIT and updated README badge #9

Feature/Changed license from Apache 2.0 to MIT and updated README badge

Feature/Changed license from Apache 2.0 to MIT and updated README badge #9

Workflow file for this run

name: Test
on:
push:
branches: [main]
pull_request:
branches: [main]
types: [opened, synchronize, reopened]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
validate:
name: Validate
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: "8.3"
tools: composer:v2
- name: Validate composer.json
run: composer validate --strict
ci-success:
name: CI Success
runs-on: ubuntu-latest
needs: [validate]
if: always()
steps:
- name: Check all jobs
run: |
echo "===== Job Results ====="
echo "Validate: ${{ needs.validate.result }}"
echo "======================="
if [ "${{ needs.validate.result }}" != "success" ]; then
echo "❌ Validation failed"
exit 1
fi
echo "✅ All checks passed!"