Update linter.yml
This commit is contained in:
parent
2d58f48b72
commit
f58aa0c818
9
.github/workflows/linter.yml
vendored
9
.github/workflows/linter.yml
vendored
|
@ -19,13 +19,16 @@ jobs:
|
|||
- run: git checkout HEAD^2
|
||||
if: ${{ github.event_name == 'pull_request' }}
|
||||
|
||||
- name: Setup PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: '8.0'
|
||||
|
||||
- name: Install dependencies
|
||||
uses: php-actions/composer@v7
|
||||
with:
|
||||
php_version: '8.0'
|
||||
args: --profile --ignore-platform-reqs
|
||||
|
||||
- name: Run Linter
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: '8.0'
|
||||
run: ./vendor/bin/phpcs -p || true
|
||||
|
|
Loading…
Reference in a new issue