Fix php lint action

This commit is contained in:
John Molakvoæ 2020-11-05 09:34:04 +01:00 committed by GitHub
parent 6d4d7faf8b
commit 1e7a82d99e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
php-versions: ['7.2', '7.3', 7.4] php-versions: ['7.3', '7.4']
name: php${{ matrix.php-versions }} lint name: php${{ matrix.php-versions }} lint
steps: steps:
- name: Checkout - name: Checkout
@ -37,4 +37,4 @@ jobs:
run: | run: |
composer run cs:check -- --format=checkstyle | cs2pr composer run cs:check -- --format=checkstyle | cs2pr
composer run cs:check || ( echo 'Please run `composer run cs:fix` to format your code' && exit 1 ) composer run cs:check || ( echo 'Please run `composer run cs:fix` to format your code' && exit 1 )
shell: bash {0} shell: bash