Add domain-events package to SDK dependencies (#3) #11
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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!" |