Replace Travis CI badge with GitHub Actions #95
Workflow file for this run
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: Static Analysis | |
| on: ['push', 'pull_request'] | |
| jobs: | |
| ci: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| php: ['8.4'] | |
| name: Code Style | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php }} | |
| tools: composer:v2 | |
| ini-values: pcov.directory=api #optional, see above for usage. | |
| coverage: pcov | |
| - name: Install Dependencies | |
| run: composer update --no-interaction --no-progress | |
| - name: Run cs fixer | |
| run: composer run cs-dry-run | |
| - name: Run PHPStan | |
| run: composer run static |