From e0c10309067f8bc319916bde08ca1c585d194267 Mon Sep 17 00:00:00 2001 From: Josh Bruce Date: Fri, 29 Mar 2024 20:00:50 -0400 Subject: [PATCH] update: PHP 8.2 actions --- .github/workflows/php82.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/php82.yml diff --git a/.github/workflows/php82.yml b/.github/workflows/php82.yml new file mode 100644 index 0000000..22b289e --- /dev/null +++ b/.github/workflows/php82.yml @@ -0,0 +1,34 @@ +name: PHP 8.2 + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Setup PHP Action + uses: shivammathur/setup-php@2.15.0 + with: + php-version: '8.2' + + - name: Validate composer.json and composer.lock + run: composer validate + + - name: Install dependencies + run: composer install --prefer-dist --no-progress + + - name: Run style check + run: composer run style + + - name: Run static analyzer + run: composer run stan + + - name: Run tests + run: composer run test