From bfcb1e257ca02e8ada7327efb88a7ba7ec6f53af Mon Sep 17 00:00:00 2001 From: Chris Burgess Date: Fri, 17 Jun 2022 23:48:37 +1200 Subject: [PATCH] test: Add PHP linting via Github Actions --- .github/workflows/php.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 2d47ab6..add2db7 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -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