test: Add PHP linting via Github Actions

This commit is contained in:
Chris Burgess 2022-06-17 23:48:37 +12:00
commit bfcb1e257c

View file

@ -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