test: Add PHP linting via Github Actions
This commit is contained in:
parent
63620ea2a1
commit
bfcb1e257c
1 changed files with 3 additions and 0 deletions
3
.github/workflows/php.yml
vendored
3
.github/workflows/php.yml
vendored
|
|
@ -20,6 +20,9 @@ jobs:
|
|||
- name: Validate composer.json and composer.lock
|
||||
run: composer validate --strict
|
||||
|
||||
- name: Validate PHP
|
||||
run: php -l src/* src/*/* tests/*
|
||||
|
||||
- name: Cache Composer packages
|
||||
id: composer-cache
|
||||
uses: actions/cache@v3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue