From 257e373dfaa28b46d1218d41144e01fb41792a4b Mon Sep 17 00:00:00 2001 From: Seb Kay Date: Tue, 24 Oct 2023 09:26:39 +0100 Subject: [PATCH] Create php.yml --- .github/workflows/php.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/php.yml diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml new file mode 100644 index 0000000..8676408 --- /dev/null +++ b/.github/workflows/php.yml @@ -0,0 +1,22 @@ +name: PHP + +on: [pull_request] + +jobs: + lint: + name: Lint + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: 8.2 + + - name: Install dependencies + run: composer build:dev + + - name: Validate against coding standards + run: composer lint