name: CI on: push: pull_request: workflow_dispatch: jobs: all-php-versions: name: PHP ${{ matrix.php }} strategy: fail-fast: false matrix: php: ["8.1", "8.2", "8.3"] uses: ./.github/workflows/main-php-matrix.yml with: php: ${{ matrix.php }} secrets: inherit codestyle: name: Code Style checks runs-on: ubuntu-20.04 strategy: fail-fast: false steps: - uses: actions/checkout@v4 - name: Setup PHP and tools uses: shivammathur/setup-php@2.32.0 with: php-version: 8.2 tools: php-cs-fixer:3.49 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Run PHP-CS-Fixer run: php-cs-fixer fix --dry-run --diff --ansi shellcheck: name: ShellCheck runs-on: ubuntu-20.04 strategy: fail-fast: false steps: - uses: actions/checkout@v4 - name: Run ShellCheck uses: ludeeus/action-shellcheck@2.0.0