Skip to content

Commit

Permalink
install composer before phpcs check
Browse files Browse the repository at this point in the history
  • Loading branch information
faisal-alvi committed Jul 5, 2024
1 parent a4efb07 commit cf73135
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ jobs:
files: |
**/*.js
- name: composer install
run: composer install --ignore-platform-reqs
- name: Check PHPCS standard
run: ./vendor/bin/phpcs -i

- name: PHPCS check
id: phpcs
run: ./vendor/bin/phpcs . --runtime-set testVersion 7.4- --report-checkstyle=${RUNNER_TEMP}/phpcs-report.xml
Expand Down

0 comments on commit cf73135

Please sign in to comment.