1
0
Fork 0
mirror of synced 2024-06-18 18:54:55 +12:00

Update linter.yml

This commit is contained in:
Torsten Dittmann 2022-05-31 17:26:45 +02:00 committed by GitHub
parent 2d58f48b72
commit f58aa0c818
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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