Fix php lint action
This commit is contained in:
parent
6d4d7faf8b
commit
1e7a82d99e
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue