Refine documentation content in README.md. #38
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: PHP API CI | |
| on: | |
| push: | |
| branches: [ main, master, unstable ] | |
| pull_request: | |
| branches: [ main, master, unstable ] | |
| workflow_dispatch: | |
| jobs: | |
| lint-and-smoke: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| php-version: ['8.1', '8.2', '8.3'] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php-version }} | |
| coverage: none | |
| - name: Lint PHP sources | |
| run: | | |
| find . -name '*.php' -print0 | xargs -0 -n1 php -l | |
| - name: Run offline smoke tests | |
| run: php test/offline-smoke.php |