Focus the README and move advanced topics into docs/ #15
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: CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| php-version: | |
| - '8.4' | |
| - '8.5' | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@7c071dfe9dc99bdf297fa79cb49ea005b9fcadbc # 2.37.1 | |
| with: | |
| php-version: ${{ matrix.php-version }} | |
| extensions: curl, swoole | |
| coverage: none | |
| - name: Install dependencies | |
| uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # 4.0.0 | |
| - name: Audit dependencies | |
| run: composer audit | |
| - name: Check formatting | |
| run: composer format:check | |
| - name: Analyze | |
| run: composer analyze | |
| - name: Check refactors | |
| run: composer refactor:check | |
| - name: Test | |
| run: composer test |