New: adds UBL as additional output format for documents #720
Workflow file for this run
This file contains 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 Lint | |
on: | |
workflow_dispatch: | |
pull_request: | |
paths: | |
- '**.php' | |
push: | |
branches: | |
- master | |
paths: | |
- '**.php' | |
jobs: | |
lint: | |
runs-on: ${{ matrix.operating-system }} | |
strategy: | |
matrix: | |
operating-system: ['ubuntu-latest'] | |
php-versions: ['7.2', '7.3', '7.4', '8.0', '8.1'] | |
steps: | |
- name: Checkout Git repository | |
uses: actions/checkout@v2 | |
- name: Setup PHP ${{ matrix.php-versions }} | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-versions }} | |
coverage: none | |
tools: cs2pr | |
- name: Run PHP Parallel Lint on PHP ${{ matrix.php-versions }} | |
run: | | |
curl -o parallel-lint.phar -L -C - https://github.com/php-parallel-lint/PHP-Parallel-Lint/releases/latest/download/parallel-lint.phar | |
php parallel-lint.phar . --exclude vendor --checkstyle --show-deprecated | cs2pr |