From 7ade196988deed71dc58b3f17d6ecdca34c38f78 Mon Sep 17 00:00:00 2001 From: Sebastian Michaelsen Date: Wed, 16 Oct 2024 07:39:44 +0200 Subject: [PATCH] ci: run tests on PHP 8.1 and 8.3 --- .github/workflows/ci.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c81f647..eb54b98 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,9 @@ on: [pull_request] jobs: phpstan: runs-on: ubuntu-latest + strategy: + matrix: + php-version: [ '8.1', '8.3' ] steps: - uses: actions/checkout@v3 - uses: php-actions/composer@v6 @@ -12,10 +15,13 @@ jobs: args: --ignore-platform-reqs - name: PHPStan Static Analysis - run: composer phpstan + run: composer phpstan -v php-cs-fixer: runs-on: ubuntu-latest + strategy: + matrix: + php-version: [ '8.1', '8.3' ] steps: - uses: actions/checkout@v3 - uses: php-actions/composer@v6 @@ -27,6 +33,9 @@ jobs: rector: runs-on: ubuntu-latest + strategy: + matrix: + php-version: [ '8.1', '8.3' ] steps: - uses: actions/checkout@v3 - uses: php-actions/composer@v6