Update linter.yml

This commit is contained in:
Torsten Dittmann authored and GitHub committed 2022-05-31 17:26:45 +02:00
1 parent 2d58f48b72
commit f58aa0c818
1 file changed
+6 -3
+6 -3
View File
@@ -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