From c1d95a414717d9767b3a364f5765ee8c5b50a9c0 Mon Sep 17 00:00:00 2001 From: Arnout Boks Date: Thu, 16 Jun 2022 12:01:51 +0200 Subject: [PATCH] Test both PHP 7.4 and PHP 8.0 in CI --- .github/workflows/ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6164b64..308352a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,10 +11,19 @@ jobs: runs-on: ubuntu-latest + strategy: + matrix: + php-version: [ '7.4', '8.0' ] + steps: - name: Checkout code uses: actions/checkout@v2 + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: ${{ matrix.php-version }} + - name: Validate composer.json and composer.lock run: composer validate