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